feat: update config
This commit is contained in:
parent
693eaacd0e
commit
0757f36f07
|
|
@ -1 +0,0 @@
|
|||
test
|
||||
|
|
@ -1,4 +1,3 @@
|
|||
<template>
|
||||
Hello World
|
||||
<abc-test/>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -56,13 +56,12 @@ export default defineConfig({
|
|||
Jsx(),
|
||||
Svg(),
|
||||
Components({
|
||||
extensions: ['vue', 'md', 'svg', 'js', 'jsx'],
|
||||
include: [/\.vue$/, /\.vue\?vue/, /\.md$/, /\.js$/, /\.jsx$/],
|
||||
exclude: [/node_modules/, /\.git/, /\.nuxt/, /_/],
|
||||
dirs: [
|
||||
'd2/components',
|
||||
'src/components'
|
||||
],
|
||||
extensions: ['vue', 'md', 'svg', 'js', 'jsx'],
|
||||
include: [/\.vue$/, /\.vue\?vue/, /\.md$/, /\.js$/, /\.jsx$/],
|
||||
dts: true,
|
||||
directoryAsNamespace: true,
|
||||
importPathTransform: path => path.endsWith('.svg') ? `${path}?component` : undefined,
|
||||
|
|
|
|||
Loading…
Reference in New Issue