mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-13 07:35:53 +00:00
clean console logs
This commit is contained in:
parent
e97b8133de
commit
a9bc47ed60
@ -8,24 +8,18 @@ async function render(pageContext: VikePageContext & PageContext) {
|
|||||||
app = createApp(pageContext)
|
app = createApp(pageContext)
|
||||||
app.mount('#app')
|
app.mount('#app')
|
||||||
} else {
|
} else {
|
||||||
// console.log(pageContext)
|
|
||||||
app.changePage(pageContext)
|
app.changePage(pageContext)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function onHydrationEnd() {
|
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() {
|
function onPageTransitionStart() {
|
||||||
// eslint-disable-next-line no-console
|
// console.log('Page transition start')
|
||||||
console.log('Page transition start')
|
|
||||||
// document.querySelector('.content')!.classList.add('page-transition')
|
|
||||||
}
|
}
|
||||||
function onPageTransitionEnd() {
|
function onPageTransitionEnd() {
|
||||||
// eslint-disable-next-line no-console
|
// console.log('Page transition end')
|
||||||
console.log('Page transition end')
|
|
||||||
// document.querySelector('.content')!.classList.remove('page-transition')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const clientRouting = true
|
export const clientRouting = true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user