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

17 lines
249 B
Vue

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