@nuxt/docs-nightly 5.0.0-29837393.f0553e4c → 5.0.0-29837649.bdf0b4f2
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.
- package/4.api/6.nuxt-config.md +11 -0
- package/package.json +1 -1
package/4.api/6.nuxt-config.md
CHANGED
|
@@ -1605,6 +1605,17 @@ If set to true, this will type check in development. You can restrict this to bu
|
|
|
1605
1605
|
|
|
1606
1606
|
**See**: [Nuxt TypeScript docs](/docs/guide/concepts/typescript)
|
|
1607
1607
|
|
|
1608
|
+
## typesDir
|
|
1609
|
+
|
|
1610
|
+
Define the directory where generated types and `tsconfig.json` files will be placed.
|
|
1611
|
+
|
|
1612
|
+
This defaults to your `buildDir`, and is separate from it so that the configurations referenced by your project `tsconfig.json` stay in place even when Nuxt builds elsewhere (as it does when building a project that has already been run in development).
|
|
1613
|
+
|
|
1614
|
+
If a relative path is specified, it will be relative to your `rootDir`.
|
|
1615
|
+
|
|
1616
|
+
- **Type**: `string`
|
|
1617
|
+
- **Default:** `"/<rootDir>/.nuxt"`
|
|
1618
|
+
|
|
1608
1619
|
## unhead
|
|
1609
1620
|
|
|
1610
1621
|
An object that allows us to configure the `unhead` nuxt module.
|