From b708ee8cd412af94425f78dc33beb46ef9f77e36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=B1=9F=E8=BE=B0?= Date: Wed, 10 Jan 2024 12:17:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=A8=E5=B1=80=E5=BC=95=E7=94=A8=20?= =?UTF-8?q?Arco=20=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/plugin/autoImport.ts | 2 +- src/main.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/plugin/autoImport.ts b/config/plugin/autoImport.ts index 212ed34..c28ebfc 100644 --- a/config/plugin/autoImport.ts +++ b/config/plugin/autoImport.ts @@ -17,7 +17,7 @@ export default function autoImportPlugin() { extensions: ['vue'], resolvers: [ ArcoResolver({ - resolveIcons: true + resolveIcons: false }) ], dts: './src/types/components.d.ts' diff --git a/src/main.ts b/src/main.ts index fa7012b..7a34f54 100644 --- a/src/main.ts +++ b/src/main.ts @@ -8,6 +8,7 @@ import './mock'; import App from './App.vue'; import '@/assets/style/global.less'; import '@/api/interceptor'; +import ArcoVueIcon from '@arco-design/web-vue/es/icon'; import '@arco-design/web-vue/es/message/style/index.less'; import '@arco-design/web-vue/es/notification/style/index.less'; import '@arco-design/web-vue/es/modal/style/index.less'; @@ -17,6 +18,7 @@ const app = createApp(App); app.use(router); app.use(store); app.use(i18n); +app.use(ArcoVueIcon); app.use(globalComponents); app.use(directive);