mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +00:00
11 lines
302 B
Vue
11 lines
302 B
Vue
<script setup lang="ts">
|
|
process.client && console.log('[async] [sync]')
|
|
const route = useRoute('suspense-async-parent-sync-child')
|
|
</script>
|
|
|
|
<template>
|
|
<div :id="'child' + route.path.replace(/[/-]+/g, '-')">
|
|
Sync child: {{ route.params.parent }} - {{ route.params.child }}
|
|
</div>
|
|
</template>
|