refactor: 移除无用配置

Former-commit-id: 1ee165bfc4
This commit is contained in:
haoxr 2023-03-15 22:50:48 +08:00
parent ca2abf6315
commit 972e656bad
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... (带样式)
ElementPlusResolver(),
// 自动导入图标组件
IconsResolver({
prefix: 'Icon'
})
IconsResolver({})
],
vueTemplate: true, // 是否在 vue 模板中自动导入
dts: path.resolve(pathSrc, 'types', 'auto-imports.d.ts') // (false) 配置文件生成位置,默认是根目录 /auto-imports.d.ts