From 28349efe147afab36531ba148eaac3a448fe6c71 Mon Sep 17 00:00:00 2001 From: hxr <1490493387@qq.com> Date: Tue, 18 Jun 2024 08:16:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E8=8F=9C=E5=8D=95=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E7=82=B9=E5=87=BB=E5=8D=A1=E6=AD=BB=EF=BC=8C=E6=9A=82?= =?UTF-8?q?=E6=97=B6=E5=85=B3=E9=97=AD=20`vue-dev-tools`=20=E6=8F=92?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 10855be4..ecd70d33 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -128,9 +128,9 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => { // 指定symbolId格式 symbolId: "icon-[dir]-[name]", }), - VueDevTools({ + /* VueDevTools({ openInEditorHost: `http://localhost:${env.VITE_APP_PORT}`, - }), + }), */ ], // 预加载项目必需的组件 optimizeDeps: { @@ -147,7 +147,6 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => { "@wangeditor/editor-for-vue", "vue-i18n", "path-browserify", - "exceljs", "element-plus/es/components/form/style/css", "element-plus/es/components/form-item/style/css", "element-plus/es/components/button/style/css",