From 217b92d41c9238c8a5d14163dccda5d9661d4103 Mon Sep 17 00:00:00 2001 From: 2183691628 <2183691628@qq.com> Date: Fri, 3 Dec 2021 15:49:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E6=89=93=E5=8C=85?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 +++-- vue.config.js | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2bbef13..625db98 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ @@ -33,4 +33,5 @@ FEATURE `2021年12月3日` FEATURE - merge off-limits-type -- 增加 禁入类别 \ No newline at end of file +- 增加 禁入类别 +- 修复 打包路径错误的问题 \ No newline at end of file diff --git a/vue.config.js b/vue.config.js index 78ef2a1..c533378 100644 --- a/vue.config.js +++ b/vue.config.js @@ -24,9 +24,9 @@ module.exports = { * In most cases please use '/' !!! * Detail: https://cli.vuejs.org/config/#publicpath */ - publicPath: '/', + publicPath: './', outputDir: 'dist', - assetsDir: 'static', + /* assetsDir: 'static', */ lintOnSave: process.env.NODE_ENV === 'development', productionSourceMap: false, devServer: {