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

13 lines
312 B
Vue

<script setup lang="ts">
if (import.meta.client) {
console.log('[sync] [sync]')
}
const route = useRoute('suspense-sync-parent-sync-child')
</script>
<template>
<div :id="'child' + route.path.replace(/[/-]+/g, '-')">
Sync child: {{ route.params.parent }} - {{ route.params.child }}
</div>
</template>