From 20bbf6c6af8c755af84806c675e40951a55fb6a9 Mon Sep 17 00:00:00 2001 From: KAI <1373639299@qq.com> Date: Wed, 16 Oct 2024 11:24:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BA=86=E5=BC=80?= =?UTF-8?q?=E5=8F=91=E7=8E=AF=E5=A2=83=E4=B8=8B=EF=BC=8C=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E4=BA=86GiTable=E8=8F=9C=E5=8D=95=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=88=B7=E6=96=B0=E9=A1=B5=E9=9D=A2=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index 5dff7431..617643cc 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -24,6 +24,10 @@ export default defineConfig(({ command, mode }) => { } } }, + // 添加需要vite优化的依赖 + optimizeDeps: { + include: ['vue-draggable-plus'] + }, server: { // 服务启动时是否自动打开浏览器 open: true,