From 73cc8d90e46696542701a25238872b30f53cef97 Mon Sep 17 00:00:00 2001 From: Horu <73709188+HigherOrderLogic@users.noreply.github.com> Date: Mon, 27 May 2024 18:09:12 +0700 Subject: [PATCH] docs: fix list spacing (#27366) --- packages/schema/src/config/app.ts | 1 + packages/schema/src/config/experimental.ts | 2 ++ packages/schema/src/config/nitro.ts | 2 ++ 3 files changed, 5 insertions(+) diff --git a/packages/schema/src/config/app.ts b/packages/schema/src/config/app.ts index 3b0feb2cd9..ad4026c157 100644 --- a/packages/schema/src/config/app.ts +++ b/packages/schema/src/config/app.ts @@ -261,6 +261,7 @@ export default defineUntypedSchema({ /** * Boolean or a path to an HTML file with the contents of which will be inserted into any HTML page * rendered with `ssr: false`. + * * - If it is unset, it will use `~/app/spa-loading-template.html` file in one of your layers, if it exists. * - If it is false, no SPA loading indicator will be loaded. * - If true, Nuxt will look for `~/app/spa-loading-template.html` file in one of your layers, or a diff --git a/packages/schema/src/config/experimental.ts b/packages/schema/src/config/experimental.ts index b90a378ac3..f429a873e8 100644 --- a/packages/schema/src/config/experimental.ts +++ b/packages/schema/src/config/experimental.ts @@ -343,8 +343,10 @@ export default defineUntypedSchema({ /** * Use new experimental head optimisations: + * * - Add the capo.js head plugin in order to render tags in of the head in a more performant way. * - Uses the hash hydration plugin to reduce initial hydration + * * @see [Nuxt Discussion #22632](https://github.com/nuxt/nuxt/discussions/22632] */ headNext: true, diff --git a/packages/schema/src/config/nitro.ts b/packages/schema/src/config/nitro.ts index 5c72ba750f..f937bb2f20 100644 --- a/packages/schema/src/config/nitro.ts +++ b/packages/schema/src/config/nitro.ts @@ -46,11 +46,13 @@ export default defineUntypedSchema({ * Nitro server handlers. * * Each handler accepts the following options: + * * - handler: The path to the file defining the handler. * - route: The route under which the handler is available. This follows the conventions of https://github.com/unjs/radix3. * - method: The HTTP method of requests that should be handled. * - middleware: Specifies whether it is a middleware handler. * - lazy: Specifies whether to use lazy loading to import the handler. + * * @see https://nuxt.com/docs/guide/directory-structure/server * @note Files from `server/api`, `server/middleware` and `server/routes` will be automatically registered by Nuxt. * @example