Nuxt/test/fixtures/basic/layouts/custom-async.vue

12 lines
184 B
Vue
Raw Permalink Normal View History

<template>
<div>
Custom Async Layout:
<slot />
</div>
</template>
<script setup>
await Promise.resolve()
console.log('isHydrating: ' + useNuxtApp().isHydrating)
</script>