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