style: 移除空格
Former-commit-id: 70e58e3a236f65b3e9c3b0d5a6a03f1e75ae45ac
This commit is contained in:
@@ -30,7 +30,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
|
||||
scss: {
|
||||
javascriptEnabled: true,
|
||||
additionalData: `
|
||||
@use "@/styles/variables.module.scss" as *;
|
||||
@use "@/styles/variables.module.scss" as *;
|
||||
`
|
||||
}
|
||||
}
|
||||
@@ -57,9 +57,8 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
|
||||
AutoImport({
|
||||
// 自动导入 Vue 相关函数,如:ref, reactive, toRef 等
|
||||
imports: ['vue', '@vueuse/core'],
|
||||
//
|
||||
eslintrc: {
|
||||
enabled: true,
|
||||
enabled: false,
|
||||
filepath: './.eslintrc-auto-import.json',
|
||||
globalsPropValue: true
|
||||
},
|
||||
@@ -75,7 +74,6 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
|
||||
dts: path.resolve(pathSrc, 'types', 'auto-imports.d.ts')
|
||||
}),
|
||||
|
||||
|
||||
Components({
|
||||
resolvers: [
|
||||
// 自动注册图标组件
|
||||
@@ -99,9 +97,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
|
||||
iconDirs: [path.resolve(pathSrc, 'assets/icons')],
|
||||
// 指定symbolId格式
|
||||
symbolId: 'icon-[dir]-[name]'
|
||||
}),
|
||||
|
||||
|
||||
})
|
||||
]
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user