diff options
Diffstat (limited to 'src/router/index.js')
-rw-r--r-- | src/router/index.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/router/index.js b/src/router/index.js index 5b6d9099..4e962fea 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -12,6 +12,9 @@ const router = new VueRouter({ base: process.env.BASE_URL, routes, linkExactActiveClass: 'nav-link--current', + scrollBehavior() { + return { x: 0, y: 0 }; + }, }); function allowRouterToNavigate(to, next, currentUserRole) { |