Fixed scroll to top.

This commit is contained in:
DebaucheryLibrarian
2021-01-17 21:24:20 +01:00
parent 8bc1fbf530
commit dd5284c55a
35 changed files with 52 additions and 34 deletions

View File

@@ -191,6 +191,9 @@ const routes = [
const router = createRouter({
history: createWebHistory(),
routes,
scrollBehavior(to, from, savedPosition) {
console.log(to, from, savedPosition);
},
});
export default router;