mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 17:43:59 +00:00
13 lines
255 B
Vue
13 lines
255 B
Vue
|
<script setup lang="ts">
|
||
|
console.log('[sync]')
|
||
|
const route = useRoute('suspense-async-parent')
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<div :id="route.path.replace(/[/-]+/g, '-')">
|
||
|
Sync parent: {{ route.params.parent }}
|
||
|
<hr>
|
||
|
<NuxtPage />
|
||
|
</div>
|
||
|
</template>
|