Skip to content

Commit 349f754

Browse files
committed
chore(schema): remove duplicated documentation
1 parent 51ecdb0 commit 349f754

File tree

16 files changed

+2
-1627
lines changed

16 files changed

+2
-1627
lines changed

packages/schema/src/config/adhoc.ts

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
import { defineResolvers } from '../utils/definition'
22

33
export default defineResolvers({
4-
/**
5-
* Configure Nuxt component auto-registration.
6-
*
7-
* Any components in the directories configured here can be used throughout your
8-
* pages, layouts (and other components) without needing to explicitly import them.
9-
* @see [`components/` directory documentation](https://nuxt.com/docs/guide/directory-structure/components)
10-
*/
114
components: {
125
$resolve: (val) => {
136
if (Array.isArray(val)) {
@@ -23,58 +16,15 @@ export default defineResolvers({
2316
},
2417
},
2518

26-
/**
27-
* Configure how Nuxt auto-imports composables into your application.
28-
* @see [Nuxt documentation](https://nuxt.com/docs/guide/directory-structure/composables)
29-
*/
3019
imports: {
3120
global: false,
32-
/**
33-
* Whether to scan your `composables/` and `utils/` directories for composables to auto-import.
34-
* Auto-imports registered by Nuxt or other modules, such as imports from `vue` or `nuxt`, will still be enabled.
35-
*/
3621
scan: true,
37-
38-
/**
39-
* An array of custom directories that will be auto-imported.
40-
* Note that this option will not override the default directories (~/composables, ~/utils).
41-
* @example
42-
* ```js
43-
* imports: {
44-
* // Auto-import pinia stores defined in `~/stores`
45-
* dirs: ['stores']
46-
* }
47-
* ```
48-
*/
4922
dirs: [],
5023
},
5124

52-
/**
53-
* Whether to use the vue-router integration in Nuxt 3. If you do not provide a value it will be
54-
* enabled if you have a `pages/` directory in your source folder.
55-
*
56-
* Additionally, you can provide a glob pattern or an array of patterns
57-
* to scan only certain files for pages.
58-
* @example
59-
* ```js
60-
* pages: {
61-
* pattern: ['**\/*\/*.vue', '!**\/*.spec.*'],
62-
* }
63-
* ```
64-
*/
6525
pages: undefined,
6626

67-
/**
68-
* Manually disable nuxt telemetry.
69-
* @see [Nuxt Telemetry](https://github.com/nuxt/telemetry) for more information.
70-
*/
7127
telemetry: undefined,
7228

73-
/**
74-
* Enable Nuxt DevTools for development.
75-
*
76-
* Breaking changes for devtools might not reflect on the version of Nuxt.
77-
* @see [Nuxt DevTools](https://devtools.nuxt.com/) for more information.
78-
*/
7929
devtools: {},
8030
})

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy