Nuxt/test/fixtures/basic/pages/fixed-keyed-child-parent/[foo].vue

20 lines
362 B
Vue
Raw Permalink Normal View History

<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>
if (import.meta.client) {
console.log('Running Child Setup')
}
const route = useRoute()
definePageMeta({
key: 'keyed'
})
</script>