clean console logs

This commit is contained in:
Ulf Gebhardt 2023-11-23 17:08:41 +01:00
parent e97b8133de
commit a9bc47ed60
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -8,24 +8,18 @@ async function render(pageContext: VikePageContext & PageContext) {
app = createApp(pageContext)
app.mount('#app')
} else {
// console.log(pageContext)
app.changePage(pageContext)
}
}
function onHydrationEnd() {
// eslint-disable-next-line no-console
console.log('Hydration finished; page is now interactive.')
// console.log('Hydration finished; page is now interactive.')
}
function onPageTransitionStart() {
// eslint-disable-next-line no-console
console.log('Page transition start')
// document.querySelector('.content')!.classList.add('page-transition')
// console.log('Page transition start')
}
function onPageTransitionEnd() {
// eslint-disable-next-line no-console
console.log('Page transition end')
// document.querySelector('.content')!.classList.remove('page-transition')
// console.log('Page transition end')
}
export const clientRouting = true