Vue-cli2项目使用HbuilderX打包步骤
Vue-cli2项目使用HbuilderX打包步骤
在router下的index.js中加上 mode:"hash",注意配置启动首页
{
path: '/', //http://localhost:8080/#/login **//配置项目启动首页**
name: 'Login',
component: Login
},
......
{
path: '/allGoodsComment',
name: 'allGoodsComme
原创
2020-12-21 22:30:10 ·
526 阅读 ·
0 评论