From f79767a9a8fc982b654b28d10f86eceeb8e6fa2b Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Mon, 12 Apr 2021 21:03:39 +0200 Subject: [PATCH] added mode: history to get rid of the # in the routes --- frontend/src/routes/router.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/routes/router.js b/frontend/src/routes/router.js index 0afb54ac4..cd3646fe0 100644 --- a/frontend/src/routes/router.js +++ b/frontend/src/routes/router.js @@ -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