mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +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>
|