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

always scroll to top on navigation

parent 694664ab
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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: '/',