Commit bcf2188c authored by levante's avatar levante

123

parent 593f52d7
......@@ -65,7 +65,7 @@ module.exports = {
// Paths
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: '/', // 设置生产地址,否则生产环境下在子项目刷新页面会空白
assetsPublicPath: './', // 设置生产地址,否则生产环境下在子项目刷新页面会空白
/**
* Source Maps
......
......@@ -8,7 +8,7 @@ Vue.use(Router)
const router = new Router({
mode: 'history',
// base: process.env.NODE_ENV === 'development' ? '/' : '/portal/',
base: process.env.NODE_ENV === 'development' ? '/' : '/h5/',
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