mirror of
https://github.com/wmn1525/grasscutterTools.git
synced 2024-11-25 09:27:27 +00:00
12 lines
301 B
TypeScript
12 lines
301 B
TypeScript
|
|
/**
|
|
* @name AutoImportDeps
|
|
* @description 按需加载,自动引入
|
|
*/
|
|
import AutoImport from 'unplugin-auto-import/vite'
|
|
export const AutoImportDeps = () => {
|
|
return AutoImport({
|
|
dts: 'src/auto-imports.d.ts',
|
|
imports: ['vue', 'pinia', 'vue-router', '@vueuse/core'],
|
|
})
|
|
} |