mirror of
https://gitee.com/fantastic-admin/basic.git
synced 2024-12-06 05:57:58 +08:00
13 lines
289 B
TypeScript
Executable File
13 lines
289 B
TypeScript
Executable File
import components from 'unplugin-vue-components/vite'
|
|
|
|
export default function createComponents() {
|
|
return components({
|
|
dirs: [
|
|
'src/components',
|
|
'src/layouts/ui-kit',
|
|
],
|
|
include: [/\.vue$/, /\.vue\?vue/, /\.tsx$/],
|
|
dts: './src/types/components.d.ts',
|
|
})
|
|
}
|