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