diff --git a/src/router/index.ts b/src/router/index.ts index fbd38e8..98af3a5 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -3,6 +3,9 @@ import HomeView from "../views/HomeView.vue"; const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), + scrollBehavior: () => { + return { top: 0 }; + }, routes: [ { path: "/",