mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 16:43:55 +00:00
c1ddb359e3
Co-authored-by: Damian Głowala <damian.glowala.rebkow@gmail.com>
25 lines
487 B
Vue
25 lines
487 B
Vue
<script setup lang="ts">
|
|
const route = useRoute('nested-foo-user-group')
|
|
</script>
|
|
|
|
<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>
|
|
</div>
|
|
</template>
|