From 4d15dc2a84058a2b5bbbd9d6e88d55b7071fea6c Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Thu, 9 May 2024 14:45:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9public=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vue.config.js b/vue.config.js index 6138b33..5dd1186 100644 --- a/vue.config.js +++ b/vue.config.js @@ -24,10 +24,10 @@ module.exports = { * In most cases please use '/' !!! * Detail: https://cli.vuejs.org/config/#publicpath */ - publicPath: '/', + publicPath: '/admin', outputDir: 'dist', - assetsDir: 'system', - indexPath: process.env.NODE_ENV === 'development' ? 'index.html' : 'system.html', + assetsDir: 'static', + indexPath: 'index.html', lintOnSave: process.env.NODE_ENV === 'development', productionSourceMap: false, devServer: {