Fix scrollbehavior to top on page change

This commit is contained in:
Grzegorz Leoniec 2019-01-17 22:21:57 +01:00
parent 9ebe75b250
commit 453ceae726
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377

View File

@ -73,7 +73,10 @@ module.exports = {
router: {
middleware: ['authenticated'],
linkActiveClass: 'router-active-link'
linkActiveClass: 'router-active-link',
scrollBehavior: () => {
return { x: 0, y: 0 }
}
},
/*