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