mirror of
https://gitee.com/fantastic-admin/basic.git
synced 2024-12-05 05:27:39 +08:00
16 lines
293 B
TypeScript
Executable File
16 lines
293 B
TypeScript
Executable File
import autoImport from 'unplugin-auto-import/vite'
|
|
|
|
export default function createAutoImport() {
|
|
return autoImport({
|
|
imports: [
|
|
'vue',
|
|
'vue-router',
|
|
'pinia',
|
|
],
|
|
dts: './src/types/auto-imports.d.ts',
|
|
dirs: [
|
|
'./src/utils/composables/**',
|
|
],
|
|
})
|
|
}
|