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

11 lines
300 B
Vue
Raw Normal View History

<script setup lang="ts">
2023-08-15 06:35:56 +00:00
process.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>