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

16 lines
247 B
Vue
Raw 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>