@nuxt/docs-nightly 4.2.1-29360927.606ef13e → 4.2.1-29360990.b3040970

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.
Files changed (78) hide show
  1. package/1.getting-started/02.installation.md +2 -2
  2. package/1.getting-started/03.configuration.md +4 -4
  3. package/1.getting-started/04.views.md +2 -2
  4. package/1.getting-started/05.assets.md +1 -1
  5. package/1.getting-started/06.styling.md +11 -11
  6. package/1.getting-started/09.transitions.md +6 -6
  7. package/1.getting-started/10.data-fetching.md +2 -2
  8. package/1.getting-started/11.state-management.md +2 -2
  9. package/1.getting-started/12.error-handling.md +4 -4
  10. package/1.getting-started/13.server.md +4 -4
  11. package/1.getting-started/14.layers.md +1 -1
  12. package/1.getting-started/17.testing.md +3 -3
  13. package/1.getting-started/18.upgrade.md +3 -3
  14. package/2.guide/1.directory-structure/1.app/1.components.md +4 -4
  15. package/2.guide/1.directory-structure/1.app/1.composables.md +1 -1
  16. package/2.guide/1.directory-structure/1.app/1.layouts.md +2 -2
  17. package/2.guide/1.directory-structure/1.app/1.middleware.md +4 -4
  18. package/2.guide/1.directory-structure/1.app/1.pages.md +13 -13
  19. package/2.guide/1.directory-structure/1.app/1.plugins.md +1 -1
  20. package/2.guide/1.directory-structure/1.node_modules.md +1 -1
  21. package/2.guide/1.directory-structure/1.public.md +1 -1
  22. package/2.guide/1.directory-structure/1.server.md +2 -2
  23. package/2.guide/1.directory-structure/2.env.md +1 -1
  24. package/2.guide/2.concepts/1.auto-imports.md +2 -2
  25. package/2.guide/2.concepts/10.nuxt-lifecycle.md +3 -3
  26. package/2.guide/2.concepts/2.vuejs-development.md +3 -3
  27. package/2.guide/2.concepts/3.rendering.md +4 -4
  28. package/2.guide/2.concepts/7.esm.md +2 -2
  29. package/2.guide/2.concepts/9.code-style.md +1 -1
  30. package/2.guide/3.going-further/1.experimental-features.md +2 -2
  31. package/2.guide/3.going-further/1.features.md +1 -1
  32. package/2.guide/3.going-further/1.internals.md +2 -2
  33. package/2.guide/3.going-further/2.hooks.md +1 -1
  34. package/2.guide/3.going-further/3.modules.md +2 -2
  35. package/2.guide/3.going-further/6.nuxt-app.md +5 -5
  36. package/2.guide/3.going-further/7.layers.md +2 -2
  37. package/2.guide/3.going-further/9.debugging.md +1 -1
  38. package/2.guide/4.recipes/1.custom-routing.md +4 -4
  39. package/2.guide/4.recipes/3.custom-usefetch.md +1 -1
  40. package/2.guide/5.best-practices/hydration.md +1 -1
  41. package/3.api/1.components/10.nuxt-picture.md +1 -1
  42. package/3.api/1.components/11.teleports.md +1 -1
  43. package/3.api/1.components/12.nuxt-route-announcer.md +1 -1
  44. package/3.api/1.components/2.nuxt-page.md +1 -1
  45. package/3.api/1.components/4.nuxt-link.md +11 -11
  46. package/3.api/1.components/5.nuxt-loading-indicator.md +1 -1
  47. package/3.api/1.components/6.nuxt-error-boundary.md +1 -1
  48. package/3.api/2.composables/use-app-config.md +1 -1
  49. package/3.api/2.composables/use-cookie.md +6 -6
  50. package/3.api/2.composables/use-fetch.md +1 -1
  51. package/3.api/2.composables/use-nuxt-app.md +6 -6
  52. package/3.api/2.composables/use-route.md +1 -1
  53. package/3.api/2.composables/use-router.md +15 -15
  54. package/3.api/2.composables/use-state.md +1 -1
  55. package/3.api/3.utils/abort-navigation.md +2 -2
  56. package/3.api/3.utils/define-lazy-hydration-component.md +4 -4
  57. package/3.api/3.utils/define-nuxt-component.md +1 -1
  58. package/3.api/3.utils/define-nuxt-plugin.md +1 -1
  59. package/3.api/3.utils/define-nuxt-route-middleware.md +1 -1
  60. package/3.api/3.utils/define-page-meta.md +8 -8
  61. package/3.api/3.utils/navigate-to.md +4 -4
  62. package/3.api/3.utils/on-before-route-leave.md +1 -1
  63. package/3.api/3.utils/on-before-route-update.md +1 -1
  64. package/3.api/3.utils/update-app-config.md +2 -2
  65. package/3.api/5.kit/1.modules.md +2 -2
  66. package/3.api/5.kit/14.builder.md +6 -6
  67. package/3.api/6.advanced/1.hooks.md +5 -5
  68. package/3.api/6.nuxt-config.md +24 -24
  69. package/5.community/4.contribution.md +1 -1
  70. package/5.community/5.framework-contribution.md +8 -8
  71. package/5.community/6.roadmap.md +3 -3
  72. package/6.bridge/4.plugins-and-middleware.md +1 -1
  73. package/7.migration/2.configuration.md +2 -2
  74. package/7.migration/20.module-authors.md +1 -1
  75. package/7.migration/5.plugins-and-middleware.md +1 -1
  76. package/7.migration/6.pages-and-layouts.md +2 -2
  77. package/README.md +1 -1
  78. package/package.json +1 -1
@@ -68,9 +68,9 @@ Each active version has its own nightly releases which are generated automatical
68
68
  Release | | Initial release | End Of Life | Docs
69
69
  -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | ---------------------------- | ---------------------------------------
70
70
  **5.x** (scheduled) | | Q4 2025 (estimated) | TBA |  
71
- **4.x** (stable) | <a href="https://www.npmjs.com/package/nuxt?activeTab=versions"><img alt="Nuxt latest version" src="https://flat.badgen.net/npm/v/nuxt?label=" class="not-prose"></a> | 2025-07-16 | 6 months after 5.x release | [nuxt.com](/docs/4.x)
72
- **3.x** (maintenance) | <a href="https://www.npmjs.com/package/nuxt?activeTab=versions"><img alt="Nuxt 3.x version" src="https://flat.badgen.net/npm/v/nuxt/3x?label=" class="not-prose"></a> | 2022-11-16 | 2026-01-31 | [nuxt.com](/docs/3.x)
73
- **2.x** (unsupported) | <a href="https://www.npmjs.com/package/nuxt?activeTab=versions"><img alt="Nuxt 2.x version" src="https://flat.badgen.net/npm/v/nuxt/2x?label=" class="not-prose"></a> | 2018-09-21 | 2024-06-30 | [v2.nuxt.com](https://v2.nuxt.com/docs)
71
+ **4.x** (stable) | <a href="https://www.npmjs.com/package/nuxt?activeTab=versions"><img alt="Nuxt latest version" src="https://flat.badgen.net/npm/v/nuxt?label=" class="not-prose"></a> | 2025-07-16 | 6 months after 5.x release | [nuxt.com](/docs/4.x/getting-started/introduction)
72
+ **3.x** (maintenance) | <a href="https://www.npmjs.com/package/nuxt?activeTab=versions"><img alt="Nuxt 3.x version" src="https://flat.badgen.net/npm/v/nuxt/3x?label=" class="not-prose"></a> | 2022-11-16 | 2026-01-31 | [nuxt.com](/docs/3.x/getting-started/introduction)
73
+ **2.x** (unsupported) | <a href="https://www.npmjs.com/package/nuxt?activeTab=versions"><img alt="Nuxt 2.x version" src="https://flat.badgen.net/npm/v/nuxt/2x?label=" class="not-prose"></a> | 2018-09-21 | 2024-06-30 | [v2.nuxt.com](https://v2.nuxt.com/docs/get-started/installation/)
74
74
  **1.x** (unsupported) | <a href="https://www.npmjs.com/package/nuxt?activeTab=versions"><img alt="Nuxt 1.x version" src="https://flat.badgen.net/npm/v/nuxt/1x?label=" class="not-prose"></a> | 2018-01-08 | 2019-09-21 | &nbsp;
75
75
 
76
76
  ### Support Status
@@ -7,7 +7,7 @@ description: 'Learn how to migrate from Nuxt 2 to Nuxt Bridge new plugins and mi
7
7
 
8
8
  You can now migrate to the Nuxt 3 plugins API, which is slightly different in format from Nuxt 2.
9
9
 
10
- Plugins now take only one argument (`nuxtApp`). You can find out more in [the docs](/docs/4.x/guide/directory-structure/plugins).
10
+ Plugins now take only one argument (`nuxtApp`). You can find out more in [the docs](/docs/4.x/guide/directory-structure/app/plugins).
11
11
 
12
12
  ```ts [app/plugins/hello.ts]
13
13
  export default defineNuxtPlugin((nuxtApp) => {
@@ -183,7 +183,7 @@ Nuxt can type-check your app using [`vue-tsc`](https://github.com/vuejs/language
183
183
 
184
184
  There are a number of changes to what is recommended Vue best practice, as well as a number of breaking changes between Vue 2 and 3.
185
185
 
186
- It is recommended to read the [Vue 3 migration guide](https://v3-migration.vuejs.org) and in particular the [breaking changes list](https://v3-migration.vuejs.org/breaking-changes).
186
+ It is recommended to read the [Vue 3 migration guide](https://v3-migration.vuejs.org) and in particular the [breaking changes list](https://v3-migration.vuejs.org/breaking-changes/).
187
187
 
188
188
  It is not currently possible to use the [Vue 3 migration build](https://v3-migration.vuejs.org/migration-build.html) with Nuxt 3.
189
189
 
@@ -227,7 +227,7 @@ export const useMainStore = defineStore('main', {
227
227
  })
228
228
  ```
229
229
 
230
- Create a [plugin](/docs/4.x/guide/directory-structure/plugins) file to globalize your store:
230
+ Create a [plugin](/docs/4.x/guide/directory-structure/app/plugins) file to globalize your store:
231
231
 
232
232
  ```ts [app/plugins/pinia.ts]
233
233
  import { useMainStore } from '~/store'
@@ -17,7 +17,7 @@ Explore Nuxt 3 compatible modules.
17
17
 
18
18
  Nuxt 3 plugins are **not** fully backward compatible with Nuxt 2.
19
19
 
20
- :read-more{to="/docs/4.x/guide/directory-structure/plugins"}
20
+ :read-more{to="/docs/4.x/guide/directory-structure/app/plugins"}
21
21
 
22
22
  ### Vue Compatibility
23
23
 
@@ -31,7 +31,7 @@ export default defineNuxtPlugin((nuxtApp) => {
31
31
 
32
32
  ::
33
33
 
34
- :read-more{to="/docs/4.x/guide/directory-structure/plugins"}
34
+ :read-more{to="/docs/4.x/guide/directory-structure/app/plugins"}
35
35
 
36
36
  ::read-more{to="/docs/4.x/api/composables/use-nuxt-app"}
37
37
  Read more about the format of `nuxtApp`.
@@ -13,13 +13,13 @@ If you don't have an `app.vue` file in your source directory, Nuxt will use its
13
13
 
14
14
  This file is a great place to put any custom code that needs to be run once when your app starts up, as well as any components that are present on every page of your app. For example, if you only have one layout, you can move this to `app.vue` instead.
15
15
 
16
- :read-more{to="/docs/4.x/guide/directory-structure/app"}
16
+ :read-more{to="/docs/4.x/guide/directory-structure/app/app"}
17
17
 
18
18
  :link-example{to="/docs/4.x/examples/hello-world"}
19
19
 
20
20
  ### Migration
21
21
 
22
- Consider creating an `app.vue` file and including any logic that needs to run once at the top-level of your app. You can check out [an example here](/docs/4.x/guide/directory-structure/app).
22
+ Consider creating an `app.vue` file and including any logic that needs to run once at the top-level of your app. You can check out [an example here](/docs/4.x/guide/directory-structure/app/app).
23
23
 
24
24
  ## Layouts
25
25
 
package/README.md CHANGED
@@ -4,7 +4,7 @@ navigation: false
4
4
 
5
5
  # Nuxt Docs
6
6
 
7
- This repository contains the documentation of Nuxt hosted on <https://nuxt.com/docs>
7
+ This repository contains the documentation of Nuxt, hosted on <https://nuxt.com/docs/4.x/getting-started/introduction>
8
8
 
9
9
  ## Contributing
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/docs-nightly",
3
- "version": "4.2.1-29360927.606ef13e",
3
+ "version": "4.2.1-29360990.b3040970",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",