Nuxt/test/fixtures/basic/pages/nested/[foo]/user-[group].vue

25 lines
487 B
Vue
Raw Permalink Normal View History

<script setup lang="ts">
const route = useRoute('nested-foo-user-group')
</script>
2022-03-08 18:03:21 +00:00
<template>
<div>
<div>nested/[foo]/user-[group].vue</div>
<div>foo: {{ route.params.foo }}</div>
<div>group: {{ route.params.group }}</div>
<NuxtLink
id="user-test"
to="/nested/foo/user-test"
>
to /nested/foo/user-test
</NuxtLink>
<NuxtLink
id="test"
to="/nested/foo/test"
>
to /nested/foo/test
</NuxtLink>
2022-03-08 18:03:21 +00:00
</div>
</template>