@nuxt/docs 3.19.1 → 3.19.2

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.
@@ -133,6 +133,10 @@ Nuxt supports this using lazy (or delayed) hydration, allowing you to control wh
133
133
 
134
134
  Nuxt provides a range of built-in hydration strategies. Only one strategy can be used per lazy component.
135
135
 
136
+ ::note
137
+ Any prop change on a lazily hydrated component will trigger hydration immediately. (e.g., changing a prop on a component with `hydrate-never` will cause it to hydrate)
138
+ ::
139
+
136
140
  ::warning
137
141
  Currently Nuxt's built-in lazy hydration only works in single-file components (SFCs), and requires you to define the prop in the template (rather than spreading an object of props via `v-bind`). It also does not work with direct imports from `#components`.
138
142
  ::
@@ -53,7 +53,6 @@ function addComponentsDir (dir: ComponentsDir, opts: { prepend?: boolean } = {})
53
53
  | `ignore` | `string[]` | `false` | Ignore patterns that will be run against specified path. |
54
54
  | `prefix` | `string` | `false` | Prefix all matched components with this string. |
55
55
  | `pathPrefix` | `boolean` | `false` | Prefix component name by its path. |
56
- | `enabled` | `boolean` | `false` | Ignore scanning this directory if set to `true`. |
57
56
  | `prefetch` | `boolean` | `false` | These properties (prefetch/preload) are used in production to configure how components with Lazy prefix are handled by webpack via its magic comments. Learn more on [webpack documentation](https://webpack.js.org/api/module-methods/#magic-comments) |
58
57
  | `preload` | `boolean` | `false` | These properties (prefetch/preload) are used in production to configure how components with Lazy prefix are handled by webpack via its magic comments. Learn more on [webpack documentation](https://webpack.js.org/api/module-methods/#magic-comments) |
59
58
  | `isAsync` | `boolean` | `false` | This flag indicates, component should be loaded async (with a separate chunk) regardless of using Lazy prefix or not. |
@@ -23,7 +23,7 @@ export default defineNuxtConfig({
23
23
 
24
24
  ### Update head properties
25
25
 
26
- In your `nuxt.config`, rename `head` to `meta`. (Note that objects no longer have a `hid` key for deduplication.)
26
+ In your `nuxt.config`, rename `head` to `app.head`. (Note that objects no longer have a `hid` key for deduplication.)
27
27
 
28
28
  ::code-group
29
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/docs",
3
- "version": "3.19.1",
3
+ "version": "3.19.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",