Nuxt/test/fixtures/basic/pages/async-parent/child.vue

16 lines
246 B
Vue

<template>
<div>
another-parent/child
</div>
</template>
<script setup>
await Promise.resolve()
if (import.meta.client) {
console.log('isHydrating: ' + useNuxtApp().isHydrating)
}
definePageMeta({
layout: 'custom-async'
})
</script>