mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-16 02:44:51 +00:00
c404cb1be4
Co-authored-by: Daniel Roe <daniel@roe.dev>
18 lines
341 B
Vue
18 lines
341 B
Vue
<template>
|
|
<div :id="`page-${route.params.foo}`">
|
|
[keyed-child-parent/{{ route.params.foo }}]
|
|
<NuxtLink to="../keyed-child-parent/1">
|
|
To another
|
|
</NuxtLink>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
console.log('Running Child Setup')
|
|
const route = useRoute()
|
|
|
|
definePageMeta({
|
|
key: r => 'keyed-' + r.params.foo
|
|
})
|
|
</script>
|