Commit f5dddc24 authored by levante's avatar levante

relative path

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