npm run build app内没有内容 不渲染
router文件内
const router = new VueRouter({
// mode: 'history',//要注释掉否则build不渲染
base: '/history',//或者更改mode成base
// base: process.env.BASE_URL,
routes
})
npm run build app内没有内容 不渲染
router文件内
const router = new VueRouter({
// mode: 'history',//要注释掉否则build不渲染
base: '/history',//或者更改mode成base
// base: process.env.BASE_URL,
routes
})