docs: switch `features`/`future` docs

This commit is contained in:
Daniel Roe 2023-12-26 20:37:20 +00:00
parent 95e4b3e222
commit f5676fba56
2 changed files with 6 additions and 3 deletions

View File

@ -35,7 +35,7 @@ export defineNuxtConfig({
## `future`
There is also a `future` namespace for behavior that will likely become default in a early opting-in to new features that will become default in a future (possibly major) version of the framework.
There is also a `future` namespace for early opting-in to new features that will become default in a future (possibly major) version of the framework.
### typescriptBundlerResolution

View File

@ -1,6 +1,10 @@
import { defineUntypedSchema } from 'untyped'
export default defineUntypedSchema({
/**
* `future` is for early opting-in to new features that will become default in a future
* (possibly major) version of the framework.
*/
future: {
/**
* This enables 'Bundler' module resolution mode for TypeScript, which is the recommended setting
@ -24,8 +28,7 @@ export default defineUntypedSchema({
},
},
/**
* `future` is for early opting-in to new features that will become default in a future
* (possibly major) version of the framework.
* Some features of Nuxt are available on an opt-in basis, or can be disabled based on your needs.
*/
features: {
/**