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

16 lines
246 B
Vue
Raw Permalink Normal View History

<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>