add:新增自动导入功能

This commit is contained in:
zlong committed 2024-11-20 11:17:26 +08:00
1 parent 5f9e951aa8
commit d28fe21a3d
1 file changed
+4
+4
View File
@@ -14,6 +14,10 @@ export default defineConfig(({ command, mode }) => {
return {
plugins: [
vue(),
AutoImport({
imports:['vue'],
dts:"src/auto-import.d.ts" // 会自动生成此文件
}),
vueDevTools(),
AutoImport({
resolvers: [