Nuxt/test/fixtures/basic/layouts/custom-async.vue
mmis1000 c404cb1be4
fix(nuxt): page hydration and double load (#7940)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-08 16:18:57 +02:00

12 lines
184 B
Vue

<template>
<div>
Custom Async Layout:
<slot />
</div>
</template>
<script setup>
await Promise.resolve()
console.log('isHydrating: ' + useNuxtApp().isHydrating)
</script>