mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-23 00:55:43 +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 });
|
||
|
});
|
||
|
});
|