mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
added mode: history to get rid of the # in the routes
This commit is contained in:
parent
eff9e6b787
commit
f79767a9a8
@ -8,6 +8,7 @@ Vue.use(VueRouter)
|
||||
const router = new VueRouter({
|
||||
routes, // short for routes: routes
|
||||
linkActiveClass: 'active',
|
||||
mode: 'history',
|
||||
scrollBehavior: (to, from, savedPosition) => {
|
||||
if (savedPosition) {
|
||||
return savedPosition
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user