configuring
router.afterEach ((to, from, next) = > {
window.scrollTo (0,0)
})
or index.js configuration
scrollBehavior (to, from, savedPosition) {
return {x: 0, y: 0}
}
in main.js has no effect, is there any other way? Ladies and gentlemen