elk/plugins/hydration.client.ts

6 wiersze
140 B
TypeScript

export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.hooks.hookOnce('app:suspense:resolve', () => {
isHydrated.value = true
})
})