111
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
srcDir: 'src/',
|
||||
|
||||
components: {
|
||||
dirs: [
|
||||
// 自动递归 components 下所有子文件夹
|
||||
{ path: '~/components', pathPrefix: false }
|
||||
]
|
||||
},
|
||||
future: {
|
||||
compatibilityVersion: 4,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user