@nuxt/docs-nightly 5.0.0-29666842.2bab300c → 5.0.0-29671024.a006fd40
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 +21 -7
- package/package.json +1 -1
package/4.api/6.nuxt-config.md
CHANGED
|
@@ -313,7 +313,7 @@ This can be overridden with `definePageMeta` on an individual page.
|
|
|
313
313
|
- **Type**: `boolean`
|
|
314
314
|
- **Default:** `false`
|
|
315
315
|
|
|
316
|
-
**See**: [Nuxt View Transition API docs](
|
|
316
|
+
**See**: [Nuxt View Transition API docs](/docs/4.x/getting-started/transitions#view-transitions-api-experimental)
|
|
317
317
|
|
|
318
318
|
## appConfig
|
|
319
319
|
|
|
@@ -506,7 +506,7 @@ Any components in the directories configured here can be used throughout your pa
|
|
|
506
506
|
}
|
|
507
507
|
```
|
|
508
508
|
|
|
509
|
-
**See**: [`app/components/` directory documentation](
|
|
509
|
+
**See**: [`app/components/` directory documentation](/docs/4.x/directory-structure/app/components)
|
|
510
510
|
|
|
511
511
|
## css
|
|
512
512
|
|
|
@@ -837,7 +837,7 @@ Any file in `app/pages/`, `app/layouts/`, `app/middleware/`, and `public/` direc
|
|
|
837
837
|
|
|
838
838
|
Configure how Nuxt auto-imports composables into your application.
|
|
839
839
|
|
|
840
|
-
**See**: [Nuxt documentation](
|
|
840
|
+
**See**: [Nuxt documentation](/docs/4.x/directory-structure/app/composables)
|
|
841
841
|
|
|
842
842
|
### `dirs`
|
|
843
843
|
|
|
@@ -1159,7 +1159,7 @@ and these plugins do not need to be listed in `nuxt.config` unless you
|
|
|
1159
1159
|
need to customize their order. All plugins are deduplicated by their src path.
|
|
1160
1160
|
::
|
|
1161
1161
|
|
|
1162
|
-
**See**: [`app/plugins/` directory documentation](
|
|
1162
|
+
**See**: [`app/plugins/` directory documentation](/docs/4.x/directory-structure/app/plugins)
|
|
1163
1163
|
|
|
1164
1164
|
**Example**:
|
|
1165
1165
|
```ts
|
|
@@ -1320,7 +1320,7 @@ Each handler accepts the following options:
|
|
|
1320
1320
|
|
|
1321
1321
|
- **Type**: `array`
|
|
1322
1322
|
|
|
1323
|
-
**See**: [`server/` directory documentation](
|
|
1323
|
+
**See**: [`server/` directory documentation](/docs/4.x/directory-structure/server)
|
|
1324
1324
|
|
|
1325
1325
|
::callout
|
|
1326
1326
|
**Note**: Files from `server/api`, `server/middleware` and `server/routes` will be automatically registered by Nuxt.
|
|
@@ -1521,6 +1521,18 @@ Include parent workspace in the Nuxt project. Mostly useful for themes and modul
|
|
|
1521
1521
|
- **Type**: `boolean`
|
|
1522
1522
|
- **Default:** `false`
|
|
1523
1523
|
|
|
1524
|
+
### `nodeTsConfig`
|
|
1525
|
+
|
|
1526
|
+
You can extend the generated `.nuxt/tsconfig.node.json` TypeScript configuration using this option.
|
|
1527
|
+
|
|
1528
|
+
**See**: [tsconfig.json information](/docs/4.x/directory-structure/tsconfig)
|
|
1529
|
+
|
|
1530
|
+
### `sharedTsConfig`
|
|
1531
|
+
|
|
1532
|
+
You can extend the generated `.nuxt/tsconfig.shared.json` TypeScript configuration using this option.
|
|
1533
|
+
|
|
1534
|
+
**See**: [tsconfig.json information](/docs/4.x/directory-structure/tsconfig)
|
|
1535
|
+
|
|
1524
1536
|
### `shim`
|
|
1525
1537
|
|
|
1526
1538
|
Generate a `*.vue` shim.
|
|
@@ -1542,7 +1554,9 @@ TypeScript comes with certain checks to give you more safety and analysis of you
|
|
|
1542
1554
|
|
|
1543
1555
|
### `tsConfig`
|
|
1544
1556
|
|
|
1545
|
-
You can extend the generated
|
|
1557
|
+
You can extend the generated `.nuxt/tsconfig.app.json` TypeScript configuration using this option.
|
|
1558
|
+
|
|
1559
|
+
**See**: [tsconfig.json information](/docs/4.x/directory-structure/tsconfig)
|
|
1546
1560
|
|
|
1547
1561
|
### `typeCheck`
|
|
1548
1562
|
|
|
@@ -1553,7 +1567,7 @@ If set to true, this will type check in development. You can restrict this to bu
|
|
|
1553
1567
|
- **Type**: `boolean`
|
|
1554
1568
|
- **Default:** `false`
|
|
1555
1569
|
|
|
1556
|
-
**See**: [Nuxt TypeScript docs](
|
|
1570
|
+
**See**: [Nuxt TypeScript docs](/docs/4.x/guide/concepts/typescript)
|
|
1557
1571
|
|
|
1558
1572
|
## unhead
|
|
1559
1573
|
|