Commit bcf2188c authored by levante's avatar levante

123

parent 593f52d7
...@@ -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
......
...@@ -8,7 +8,7 @@ Vue.use(Router) ...@@ -8,7 +8,7 @@ Vue.use(Router)
const router = new Router({ const router = new Router({
mode: 'history', mode: 'history',
// base: process.env.NODE_ENV === 'development' ? '/' : '/portal/', base: process.env.NODE_ENV === 'development' ? '/' : '/h5/',
routes, routes,
}) })
......
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