From a2da437a27779dd80fa075dc685c04b8885232cb Mon Sep 17 00:00:00 2001 From: jiangyy Date: Wed, 3 Nov 2021 10:27:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vue.config.js b/vue.config.js index fa25e8fd..2601dc23 100644 --- a/vue.config.js +++ b/vue.config.js @@ -3,7 +3,7 @@ */ const IS_PROD = ['production', 'test'].includes(process.env.NODE_ENV) module.exports = { - baseUrl: process.env.NODE_ENV === 'production' ? '' : '/epmet-oper', + baseUrl: process.env.NODE_ENV === 'production' ? '' : '/dist', css: { // 是否使用css分离插件 ExtractTextPlugin extract: IS_PROD, @@ -23,7 +23,7 @@ module.exports = { .loader('svg-sprite-loader') }, productionSourceMap: false, - outputDir: 'epmet-oper', + outputDir: 'dist', assetsDir: 'static', devServer: { open: true,