From 306734b44120bc72ae6ebfeaee5aac2304da348a Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Mon, 6 Feb 2023 01:08:40 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=A7=BB=E9=99=A4=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 70e58e3a236f65b3e9c3b0d5a6a03f1e75ae45ac --- src/views/dashboard/index.vue | 10 +++++----- vite.config.ts | 10 +++------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index 6dbffd92..1358ec00 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -38,7 +38,7 @@ const greetings = computed(() => { - +
@@ -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]' - }), - - + }) ] }; });