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