mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +00:00
15 lines
239 B
Vue
15 lines
239 B
Vue
<template>
|
|
<div>
|
|
Custom Async Layout:
|
|
<slot />
|
|
<ComponentWithRef />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
await Promise.resolve()
|
|
if (import.meta.client) {
|
|
console.log('isHydrating: ' + useNuxtApp().isHydrating)
|
|
}
|
|
</script>
|