17 lines
406 B
JavaScript
17 lines
406 B
JavaScript
|
import autoImport from 'unplugin-auto-import/vite'
|
||
|
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers';
|
||
|
|
||
|
export default function createAutoImport() {
|
||
|
return autoImport({
|
||
|
resolvers: [ElementPlusResolver()],
|
||
|
imports: [
|
||
|
'vue',
|
||
|
'vue-router',
|
||
|
{
|
||
|
'vuex': ['useStore']
|
||
|
}
|
||
|
],
|
||
|
dts: false
|
||
|
})
|
||
|
}
|