1
1
import { defineResolvers } from '../utils/definition'
2
2
3
3
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
- */
11
4
components : {
12
5
$resolve : ( val ) => {
13
6
if ( Array . isArray ( val ) ) {
@@ -23,58 +16,15 @@ export default defineResolvers({
23
16
} ,
24
17
} ,
25
18
26
- /**
27
- * Configure how Nuxt auto-imports composables into your application.
28
- * @see [Nuxt documentation](https://nuxt.com/docs/guide/directory-structure/composables)
29
- */
30
19
imports : {
31
20
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
- */
36
21
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
- */
49
22
dirs : [ ] ,
50
23
} ,
51
24
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
- */
65
25
pages : undefined ,
66
26
67
- /**
68
- * Manually disable nuxt telemetry.
69
- * @see [Nuxt Telemetry](https://github.com/nuxt/telemetry) for more information.
70
- */
71
27
telemetry : undefined ,
72
28
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
- */
79
29
devtools : { } ,
80
30
} )
0 commit comments