Commit beec303b authored by levante's avatar levante

绝对路径改相对路径

parent 8b008a8b
...@@ -65,7 +65,7 @@ module.exports = { ...@@ -65,7 +65,7 @@ module.exports = {
// Paths // Paths
assetsRoot: path.resolve(__dirname, '../dist'), assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static', assetsSubDirectory: 'static',
assetsPublicPath: '/', // 设置生产地址,否则生产环境下在子项目刷新页面会空白 assetsPublicPath: './', // 设置生产地址,否则生产环境下在子项目刷新页面会空白
/** /**
* Source Maps * Source Maps
......
Markdown is supported
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