From 1eef9d0904782b984a67c4e89cb2c006f060c1b3 Mon Sep 17 00:00:00 2001 From: fengchenchen Date: Wed, 6 Mar 2024 16:56:05 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E9=83=A8=E7=BD=B2=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=89=8D=E7=BC=80=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/vue.config.js b/vue.config.js index 09cf75a..ad0062f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -17,6 +17,7 @@ module.exports = { productionSourceMap: false, // 打包app时放开该配置 // publicPath:'./', + publicPath: process.env.NODE_ENV === 'production' ? '/mobile/' : '/', configureWebpack: config => { // 生产环境取消 console.log if (process.env.NODE_ENV === 'production') {