mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-24 17:45: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 });
|
||
|
});
|
||
|
});
|