mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 06:05:11 +00:00
13 lines
275 B
Vue
13 lines
275 B
Vue
<script setup lang="ts">
|
|
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>
|