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