Use hash routing.
This commit is contained in:
parent
590782701d
commit
929d4d75b4
1 changed files with 0 additions and 1 deletions
|
@ -43,7 +43,6 @@ const routes = [
|
||||||
]
|
]
|
||||||
|
|
||||||
const router = new VueRouter({
|
const router = new VueRouter({
|
||||||
mode: 'history',
|
|
||||||
routes,
|
routes,
|
||||||
scrollBehavior: (to, from, savedPosition) => {
|
scrollBehavior: (to, from, savedPosition) => {
|
||||||
return savedPosition || { x: 0, y: 0 }
|
return savedPosition || { x: 0, y: 0 }
|
||||||
|
|
Loading…
Reference in a new issue