Nuxt/test/fixtures/basic/pages/fixed-keyed-child-parent/[foo].vue
mmis1000 c404cb1be4
fix(nuxt): page hydration and double load (#7940)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-08 16:18:57 +02:00

18 lines
332 B
Vue

<template>
<div :id="`page-${route.params.foo}`">
[fixed-keyed-child-parent/{{ route.params.foo }}]
<NuxtLink to="../fixed-keyed-child-parent/1">
To another
</NuxtLink>
</div>
</template>
<script setup>
console.log('Running Child Setup')
const route = useRoute()
definePageMeta({
key: 'keyed'
})
</script>