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