mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-19 13:36:29 +00:00
8 lines
197 B
TypeScript
8 lines
197 B
TypeScript
|
export default defineNuxtPlugin(nuxtApp => {
|
||
|
nuxtApp.hook("page:finish", () => {
|
||
|
console.log(document.body);
|
||
|
document.body.scrollTo({ top: 0 });
|
||
|
console.log("page:finish");
|
||
|
});
|
||
|
});
|