mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-29 20:15:41 +00:00
6 lines
133 B
TypeScript
6 lines
133 B
TypeScript
|
export default defineNuxtPlugin(nuxtApp => {
|
||
|
nuxtApp.hook("page:finish", () => {
|
||
|
document.body.scrollTo({ top: 0 });
|
||
|
});
|
||
|
});
|