mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 07:05:11 +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>
|