chore[litemall-vue, litemall-admin]: 采用相对路径

This commit is contained in:
Junling Bu
2019-05-12 12:33:22 +08:00
parent 9aa04b8946
commit 26a8000df6
2 changed files with 2 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ module.exports = {
* then assetsPublicPath should be set to "/bar/". * then assetsPublicPath should be set to "/bar/".
* In most cases please use '/' !!! * In most cases please use '/' !!!
*/ */
assetsPublicPath: '/', assetsPublicPath: './',
/** /**
* Source Maps * Source Maps

View File

@@ -5,6 +5,7 @@ function resolve(dir = '') {
} }
module.exports = { module.exports = {
publicPath: './',
outputDir: 'dist', outputDir: 'dist',
assetsDir: 'static', assetsDir: 'static',
productionSourceMap: false, productionSourceMap: false,