@nuxt/docs-nightly 4.5.0-29672211.c351bbe2 → 4.5.0-29673761.f253a70d

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.
@@ -8,11 +8,11 @@ links:
8
8
  size: xs
9
9
  ---
10
10
 
11
- Sometimes you need to resolve a paths: relative to the current module, with unknown name or extension. For example, you may want to add a plugin that is located in the same directory as the module. To handle this cases, nuxt provides a set of utilities to resolve paths. `resolvePath` and `resolveAlias` are used to resolve paths relative to the current module. `findPath` is used to find first existing file in given paths. `createResolver` is used to create resolver relative to base path.
11
+ Sometimes you need to resolve a path relative to the current module without knowing the name or extension. For example, you may want to add a plugin that is located in the same directory as the module. To handle these cases, Nuxt provides a set of utilities to resolve paths. `resolvePath` and `resolveAlias` are used to resolve paths relative to the current module. `findPath` is used to find the first existing file in a given set of paths. `createResolver` is used to create a resolver relative to the base path.
12
12
 
13
13
  ## `resolvePath`
14
14
 
15
- Resolves full path to a file or directory respecting Nuxt alias and extensions options. If path could not be resolved, normalized input path will be returned.
15
+ Resolves the full path to a file or directory, respecting Nuxt alias and extensions options. If a path could not be resolved, a normalized input path will be returned.
16
16
 
17
17
  ### Usage
18
18
 
@@ -115,7 +115,7 @@ function resolveAlias (path: string, alias?: Record<string, string>): string
115
115
 
116
116
  ## `findPath`
117
117
 
118
- Try to resolve first existing file in given paths.
118
+ Try to resolve first existing file in a given set of paths.
119
119
 
120
120
  ### Usage
121
121
 
@@ -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](https://nuxt.com/docs/4.x/getting-started/transitions#view-transitions-api-experimental)
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](https://nuxt.com/docs/4.x/directory-structure/app/components)
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](https://nuxt.com/docs/4.x/directory-structure/app/composables)
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](https://nuxt.com/docs/4.x/directory-structure/app/plugins)
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](https://nuxt.com/docs/4.x/directory-structure/server)
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 TypeScript configurations (`.nuxt/tsconfig.app.json`, `.nuxt/tsconfig.server.json`, etc.) using this option.
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](https://nuxt.com/docs/4.x/guide/concepts/typescript)
1570
+ **See**: [Nuxt TypeScript docs](/docs/4.x/guide/concepts/typescript)
1557
1571
 
1558
1572
  ## unhead
1559
1573
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/docs-nightly",
3
- "version": "4.5.0-29672211.c351bbe2",
3
+ "version": "4.5.0-29673761.f253a70d",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",