Commit 26a8000d authored by Junling Bu's avatar Junling Bu
Browse files

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

parent 9aa04b89
...@@ -60,7 +60,7 @@ module.exports = { ...@@ -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
......
...@@ -5,6 +5,7 @@ function resolve(dir = '') { ...@@ -5,6 +5,7 @@ function resolve(dir = '') {
} }
module.exports = { module.exports = {
publicPath: './',
outputDir: 'dist', outputDir: 'dist',
assetsDir: 'static', assetsDir: 'static',
productionSourceMap: false, productionSourceMap: false,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment