From 544214e13364cf7861563ba32dd0306b9a06d6fc Mon Sep 17 00:00:00 2001 From: D <3066417822@qq.com> Date: Sun, 13 Aug 2023 00:57:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=AD=A3readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 87e6350..7016aa4 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,12 @@ pnpm install :: 微信小程序编译运行 npm run dev:mp-weixin ``` +### 代码压缩 +默认是启动代码压缩的, +如果需要关闭代码压缩,可以将vite.config.js中的build.minify赋值为false。 + +如果需要打开代码压缩,可以将vite.config.js中的build.minify赋值为true。 # 作者建议 ### 对于选项式 @@ -93,6 +98,7 @@ app.use(uviewPlus) 3. App.vue中删除 @import '@/static/scss/index.scss'; 4. package.json中删除 "clipboard": "^2.0.11","dayjs": "^1.11.9","uview-plus": "^3.1.36", + # 附录 [Vue3官网](https://cn.vuejs.org/);