Nuxt/test/fixtures/basic/pages/suspense/sync-[parent].vue

13 lines
275 B
Vue
Raw Normal View History

<script setup lang="ts">
2023-08-15 06:35:56 +00:00
process.client && console.log('[sync]')
const route = useRoute('suspense-async-parent')
</script>
<template>
<main :id="route.path.replace(/[/-]+/g, '-')">
Sync parent: {{ route.params.parent }}
<hr>
<NuxtPage />
</main>
</template>