@nuxt/docs-nightly 4.0.0-29124669.146acb74 → 4.0.0-29125115.a4326de9
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.
|
@@ -109,12 +109,12 @@ export { utils } from './nested/utils.ts'
|
|
|
109
109
|
export default defineNuxtConfig({
|
|
110
110
|
imports: {
|
|
111
111
|
dirs: [
|
|
112
|
-
// Scan top-level
|
|
113
|
-
'composables',
|
|
114
|
-
// ... or scan
|
|
115
|
-
'composables/*/index.{ts,js,mjs,mts}',
|
|
116
|
-
// ... or scan all
|
|
117
|
-
'composables/**'
|
|
112
|
+
// Scan top-level composables
|
|
113
|
+
'~/composables',
|
|
114
|
+
// ... or scan composables nested one level deep with a specific name and file extension
|
|
115
|
+
'~/composables/*/index.{ts,js,mjs,mts}',
|
|
116
|
+
// ... or scan all composables within given directory
|
|
117
|
+
'~/composables/**'
|
|
118
118
|
]
|
|
119
119
|
}
|
|
120
120
|
})
|