From 6f39c0ec6c2588e6c4f44acd0d3eb07fca5a69f4 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Mon, 25 Nov 2024 11:20:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E9=9D=99=E6=80=81=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index 22661f2..1da7901 100644 --- a/vue.config.js +++ b/vue.config.js @@ -11,7 +11,7 @@ const IS_PROD = ['production', 'prod'].includes(process.env.NODE_ENV) const PUBLIC_PATH = process.env.PUBLIC_PATH const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ - publicPath: process.env.NODE_ENV === 'development' ? '/' : '/h5', //署应用包时的基本 URL。 vue-router history模式使用 + publicPath: process.env.NODE_ENV === 'development' ? '/' : '/epmet-wx-pa', //署应用包时的基本 URL。 vue-router history模式使用 outputDir: `dist/${OUTPUT_FILE_NAME}`, // 生产环境构建文件的目录 assetsDir: 'static', // outputDir的静态资源(js、css、img、fonts)目录 lintOnSave: !IS_PROD,