From e7caf06a3ad9c0e1ac76c68213cb8455094e04bb Mon Sep 17 00:00:00 2001 From: huangze Date: Fri, 4 Jul 2025 16:17:45 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E4=BF=AE=E6=94=B9=E5=85=AC=E5=85=B1?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E4=B8=BA=E5=BD=93=E5=89=8D=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 publicPath 从 '/saleH5' 修改为 '.',以适应项目需求 --- vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index 22c046d..dcb3dab 100644 --- a/vue.config.js +++ b/vue.config.js @@ -7,7 +7,7 @@ function resolve(dir) { return path.join(__dirname, dir) } module.exports = { - publicPath: '/saleH5', + publicPath: '.', lintOnSave: false, //是否开启代码检查 outputDir: 'dist', //打包输出目录 productionSourceMap: false,