Skip to content

Commit 96a9c4a

Browse files
committed
docs: add docs about experimental nativeSqlite flag
1 parent ba721a8 commit 96a9c4a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/content/docs/1.getting-started/3.configuration.md

+22
Original file line numberDiff line numberDiff line change
@@ -489,3 +489,25 @@ preview: {
489489
api: 'https://api.nuxt.studio',
490490
}
491491
```
492+
493+
## `experimental`
494+
495+
Experimental features that are not yet stable.
496+
497+
### `experimental.nativeSqlite`
498+
499+
As of Node.js v22.5.0, the `node:sqlite` module is available natively in Node.js.
500+
This allows Nuxt Content to use SQLite as a database without the need for an external package.
501+
502+
```ts [nuxt.config.ts]
503+
export default defineNuxtConfig({
504+
content: {
505+
experimental: { nativeSqlite: true },
506+
},
507+
});
508+
```
509+
510+
::prose-note
511+
This feature is only available in Node.js v22.5.0 and above. Enabling this feature in older version will not do anything.
512+
::
513+

0 commit comments

Comments
 (0)