@nuxt/docs-nightly 4.6.0-29836601.d5e5f1bd → 4.6.0-29837308.b0e1abf5
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.
|
@@ -1075,7 +1075,7 @@ response, typed as it arrives over the wire, so a resolving call is typed more t
|
|
|
1075
1075
|
- a method the route does not answer is rejected
|
|
1076
1076
|
- `params` is no longer accepted, since it was only ever an alias for `query`
|
|
1077
1077
|
- a route you registered by augmenting `ServerRoutes` by hand needs rewriting, as the two
|
|
1078
|
-
descriptions of a route differ (see [the upgrade guide](/docs/5.x/getting-started/upgrade#typed-fetch-rebuilt-on-generated-route-types))
|
|
1078
|
+
descriptions of a route differ (see [the upgrade guide](https://nuxt.com/docs/5.x/getting-started/upgrade#typed-fetch-rebuilt-on-generated-route-types))
|
|
1079
1079
|
|
|
1080
1080
|
Because of those, it is opt-in, and `future.compatibilityVersion: 5` enables it. Setting it
|
|
1081
1081
|
explicitly selects either typing whatever the compatibility version, so you can adopt it before
|
|
@@ -1241,7 +1241,7 @@ export default defineNuxtConfig({
|
|
|
1241
1241
|
The Vite Environment API provides better consistency between development and production builds, more granular control over environment-specific configuration, and improved performance.
|
|
1242
1242
|
|
|
1243
1243
|
::important
|
|
1244
|
-
Enabling this feature changes how Vite plugins are registered and configured. See the [Vite Environment API migration guide](/docs/5.x/getting-started/upgrade#migration-to-vite-environment-api) for details on updating your plugins.
|
|
1244
|
+
Enabling this feature changes how Vite plugins are registered and configured. See the [Vite Environment API migration guide](https://nuxt.com/docs/5.x/getting-started/upgrade#migration-to-vite-environment-api) for details on updating your plugins.
|
|
1245
1245
|
::
|
|
1246
1246
|
|
|
1247
1247
|
::read-more{to="https://vite.dev/guide/api-environment" target="_blank"}
|