export default new Router({
routes: [
{
path: '/',
name: 'myFirstvue',
component: myFirstvue
}
],
mode: 'history'
})
mode:"hash"; URL里面会有#号呀
mode:"history"; 有历史功能记录啦
export default new Router({
routes: [
{
path: '/',
name: 'myFirstvue',
component: myFirstvue
}
],
mode: 'history'
})
mode:"hash"; URL里面会有#号呀
mode:"history"; 有历史功能记录啦