From d3efce76cd9698b364e1db3e17aec2f7ee36d0d9 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期一, 24 二月 2025 10:23:40 +0800 Subject: [PATCH] 1000 修改刷新页面宽度 --- vite.config.ts | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 5b25f9d..fa15255 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,6 +7,7 @@ import { defineConfig, loadEnv } from 'vite'; import viteCompression from 'vite-plugin-compression'; import vueSetupExtend from 'vite-plugin-vue-setup-extend-plus'; +import { CodeInspectorPlugin } from 'code-inspector-plugin'; const pathResolve = (dir: string) => { return resolve(__dirname, '.', dir); @@ -21,6 +22,7 @@ const env = loadEnv(mode.mode, process.cwd()); return { plugins: [ + vue(), vueSetupExtend(), viteCommonjs(), @@ -28,6 +30,10 @@ viteCompression({ threshold: 1024000, }), + // CodeInspectorPlugin({ + // bundler: 'vite', + // hotKeys: ['shiftKey'], + // }), ], root: process.cwd(), resolve: { alias }, -- Gitblit v1.9.3