src/layouts/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
vue.config.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/layouts/index.vue
@@ -36,7 +36,7 @@ </div> </div> </div> <router-view :key="key"></router-view> <router-view></router-view> </div> </template> vue.config.js
@@ -1,3 +1,8 @@ const path = require('path') function resolve(dir) { return path.join(__dirname, dir) } module.exports = { publicPath: './', // publicPath: process.env.NODE_ENV === 'production' ? './' : '/',