1
0
elk/plugins/hydration.client.ts
2023-01-02 00:18:05 +01:00

6 lines
140 B
TypeScript

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