mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 01:17:16 +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>
|