Skip to content

Commit

Permalink
docs: switch features/future docs
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Dec 26, 2023
1 parent 95e4b3e commit f5676fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/2.guide/3.going-further/1.features.md
Expand Up @@ -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

Expand Down
7 changes: 5 additions & 2 deletions packages/schema/src/config/experimental.ts
@@ -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
Expand All @@ -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: {
/**
Expand Down

0 comments on commit f5676fb

Please sign in to comment.