mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-22 23:06:31 +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");
|
||
|
});
|
||
|
});
|