refactor: 移除无用配置

This commit is contained in:
haoxr 2023-03-15 22:50:48 +08:00
parent 8066e3c48a
commit 1ee165bfc4
1 changed files with 1 additions and 3 deletions

View File

@ -72,9 +72,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
// 自动导入 Element Plus 相关函数ElMessage, ElMessageBox... (带样式) // 自动导入 Element Plus 相关函数ElMessage, ElMessageBox... (带样式)
ElementPlusResolver(), ElementPlusResolver(),
// 自动导入图标组件 // 自动导入图标组件
IconsResolver({ IconsResolver({})
prefix: 'Icon'
})
], ],
vueTemplate: true, // 是否在 vue 模板中自动导入 vueTemplate: true, // 是否在 vue 模板中自动导入
dts: path.resolve(pathSrc, 'types', 'auto-imports.d.ts') // (false) 配置文件生成位置,默认是根目录 /auto-imports.d.ts dts: path.resolve(pathSrc, 'types', 'auto-imports.d.ts') // (false) 配置文件生成位置,默认是根目录 /auto-imports.d.ts