Commit 66abc61b authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt

always scroll to top on navigation

parent 694664ab
Pipeline #2009 passed with stages
in 5 minutes and 2 seconds
......@@ -8,6 +8,9 @@ Vue.use(Router)
const router = new Router({
mode: 'history',
base: process.env.BASE_URL,
scrollBehavior () {
return { x: 0, y: 0 }
},
routes: [
{
path: '/',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment