Author SHA1 Message Date
zlong d28fe21a3d add:新增自动导入功能 2024-11-20 11:17:26 +08:00
+4
View File
@@ -14,6 +14,10 @@ export default defineConfig(({ command, mode }) => {
return { return {
plugins: [ plugins: [
vue(), vue(),
AutoImport({
imports:['vue'],
dts:"src/auto-import.d.ts" // 会自动生成此文件
}),
vueDevTools(), vueDevTools(),
AutoImport({ AutoImport({
resolvers: [ resolvers: [