mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 06:35:10 +00:00
adb1c122a7
Co-authored-by: Daniel Roe <daniel@roe.dev>
13 lines
209 B
Vue
13 lines
209 B
Vue
<template>
|
|
<div>
|
|
Custom Async Layout:
|
|
<slot />
|
|
<ComponentWithRef />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
await Promise.resolve()
|
|
console.log('isHydrating: ' + useNuxtApp().isHydrating)
|
|
</script>
|