@nuxt/docs 3.17.4 → 3.17.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/1.getting-started/01.introduction.md +3 -3
- package/1.getting-started/03.configuration.md +1 -1
- package/1.getting-started/07.routing.md +1 -1
- package/1.getting-started/10.data-fetching.md +1 -1
- package/1.getting-started/11.state-management.md +1 -1
- package/1.getting-started/12.error-handling.md +1 -1
- package/1.getting-started/13.server.md +1 -1
- package/1.getting-started/15.prerendering.md +8 -8
- package/1.getting-started/16.deployment.md +2 -2
- package/1.getting-started/18.upgrade.md +7 -7
- package/2.guide/1.concepts/10.nuxt-lifecycle.md +14 -4
- package/2.guide/1.concepts/3.rendering.md +2 -2
- package/2.guide/1.concepts/4.server-engine.md +2 -2
- package/2.guide/1.concepts/5.modules.md +1 -1
- package/2.guide/1.concepts/8.typescript.md +6 -6
- package/2.guide/1.concepts/9.code-style.md +1 -1
- package/2.guide/2.directory-structure/1.composables.md +1 -1
- package/2.guide/2.directory-structure/1.content.md +1 -1
- package/2.guide/2.directory-structure/1.pages.md +5 -1
- package/2.guide/2.directory-structure/1.plugins.md +0 -4
- package/2.guide/2.directory-structure/1.server.md +3 -3
- package/2.guide/2.directory-structure/2.env.md +4 -4
- package/2.guide/3.going-further/1.experimental-features.md +2 -1
- package/2.guide/3.going-further/1.internals.md +2 -2
- package/2.guide/3.going-further/10.runtime-config.md +1 -1
- package/2.guide/3.going-further/11.nightly-release-channel.md +4 -8
- package/2.guide/3.going-further/3.modules.md +2 -4
- package/2.guide/3.going-further/9.debugging.md +1 -5
- package/2.guide/4.recipes/4.sessions-and-authentication.md +3 -3
- package/3.api/1.components/10.nuxt-picture.md +1 -1
- package/3.api/1.components/4.nuxt-link.md +4 -0
- package/3.api/1.components/9.nuxt-img.md +1 -1
- package/3.api/2.composables/on-prehydrate.md +21 -12
- package/3.api/2.composables/use-async-data.md +1 -1
- package/3.api/2.composables/use-cookie.md +67 -125
- package/3.api/2.composables/use-error.md +30 -7
- package/3.api/2.composables/use-fetch.md +70 -73
- package/3.api/2.composables/use-nuxt-app.md +1 -1
- package/3.api/2.composables/use-preview-mode.md +3 -3
- package/3.api/3.utils/define-nuxt-plugin.md +102 -0
- package/3.api/4.commands/add.md +20 -20
- package/3.api/4.commands/analyze.md +2 -2
- package/3.api/4.commands/build-module.md +2 -2
- package/3.api/4.commands/build.md +2 -2
- package/3.api/4.commands/cleanup.md +2 -2
- package/3.api/4.commands/dev.md +3 -3
- package/3.api/4.commands/devtools.md +3 -3
- package/3.api/4.commands/generate.md +3 -3
- package/3.api/4.commands/info.md +2 -2
- package/3.api/4.commands/init.md +3 -3
- package/3.api/4.commands/module.md +8 -8
- package/3.api/4.commands/prepare.md +2 -2
- package/3.api/4.commands/preview.md +3 -3
- package/3.api/4.commands/typecheck.md +2 -2
- package/3.api/4.commands/upgrade.md +2 -2
- package/3.api/5.kit/13.logging.md +1 -1
- package/3.api/5.kit/7.pages.md +1 -1
- package/3.api/6.advanced/1.hooks.md +8 -8
- package/5.community/4.contribution.md +1 -1
- package/5.community/6.roadmap.md +17 -12
- package/5.community/7.changelog.md +1 -1
- package/7.migration/2.configuration.md +2 -2
- package/package.json +1 -1
|
@@ -147,7 +147,7 @@ It will be much easier to migrate your application if you use Nuxt's TypeScript
|
|
|
147
147
|
You can read more about Nuxt's TypeScript support [in the docs](/docs/guide/concepts/typescript).
|
|
148
148
|
|
|
149
149
|
::note
|
|
150
|
-
Nuxt can type-check your app using [`vue-tsc`](https://github.com/vuejs/language-tools/tree/master/packages/tsc) with `
|
|
150
|
+
Nuxt can type-check your app using [`vue-tsc`](https://github.com/vuejs/language-tools/tree/master/packages/tsc) with `nuxt typecheck` command.
|
|
151
151
|
::
|
|
152
152
|
|
|
153
153
|
### Migration
|
|
@@ -160,7 +160,7 @@ Nuxt can type-check your app using [`vue-tsc`](https://github.com/vuejs/language
|
|
|
160
160
|
}
|
|
161
161
|
```
|
|
162
162
|
|
|
163
|
-
1. Run `npx
|
|
163
|
+
1. Run `npx nuxt prepare` to generate `.nuxt/tsconfig.json`.
|
|
164
164
|
1. Install Volar following the instructions in the [docs](/docs/getting-started/introduction#prerequisites).
|
|
165
165
|
|
|
166
166
|
## Vue Changes
|