Nuxt/test/fixtures/basic/pages/suspense/async-[parent]/sync-[child].vue
2023-08-15 07:35:56 +01:00

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>