Use history routing.
This commit is contained in:
parent
1ae5223742
commit
b6ac99fdf0
3 changed files with 5 additions and 7 deletions
|
@ -24,7 +24,10 @@ const routes = [
|
|||
{ path: '/main/friends', component: FriendsTimeline }
|
||||
]
|
||||
|
||||
const router = new VueRouter({routes})
|
||||
const router = new VueRouter({
|
||||
mode: 'history',
|
||||
routes
|
||||
})
|
||||
|
||||
/* eslint-disable no-new */
|
||||
new Vue({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue