@nuxt/docs-nightly 4.2.0-29334442.191bcb7e → 4.2.0-29334960.22f4693a
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.
|
@@ -63,7 +63,20 @@ There is also a `future` namespace for early opting-in to new features that will
|
|
|
63
63
|
|
|
64
64
|
This is used for enabling early access to Nuxt features or flags.
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
|
|
67
|
+
### compatibilityVersion
|
|
68
|
+
|
|
69
|
+
This enables early access to Nuxt features or flags.
|
|
70
|
+
|
|
71
|
+
Setting `compatibilityVersion` to `5` changes defaults throughout your Nuxt configuration to opt-in to Nuxt v5 behaviour.
|
|
72
|
+
|
|
73
|
+
```ts
|
|
74
|
+
export default defineNuxtConfig({
|
|
75
|
+
future: {
|
|
76
|
+
compatibilityVersion: 5,
|
|
77
|
+
},
|
|
78
|
+
})
|
|
79
|
+
```
|
|
67
80
|
|
|
68
81
|
### multiApp
|
|
69
82
|
|