@@ -82,7 +82,7 @@ const greetings = computed(() => {
-
+
{
-
+
{
/>
-
+
{
/>
-
+
{
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]'
- }),
-
-
+ })
]
};
});