2023-05-09 17:08:07 +00:00
|
|
|
<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>
|
2023-05-09 17:08:07 +00:00
|
|
|
<div>foo: {{ route.params.foo }}</div>
|
|
|
|
<div>group: {{ route.params.group }}</div>
|
2023-09-06 19:44:59 +00:00
|
|
|
|
|
|
|
<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>
|