2023-05-09 17:08:07 +00:00
|
|
|
<script setup lang="ts">
|
|
|
|
const route = useRoute('nested-foo-bar')
|
|
|
|
</script>
|
|
|
|
|
2022-03-08 18:03:21 +00:00
|
|
|
<template>
|
|
|
|
<div>
|
|
|
|
<div>nested/[foo]/[bar].vue</div>
|
2023-05-09 17:08:07 +00:00
|
|
|
<div>foo: {{ route.params.foo }}</div>
|
|
|
|
<div>bar: {{ route.params.bar }}</div>
|
2023-11-09 17:01:13 +00:00
|
|
|
<NuxtLink
|
|
|
|
id="user-test"
|
|
|
|
to="/nested/foo/user-test"
|
|
|
|
>
|
2023-09-06 19:44:59 +00:00
|
|
|
to /nested/foo/user-test
|
|
|
|
</NuxtLink>
|
2023-11-09 17:01:13 +00:00
|
|
|
<NuxtLink
|
|
|
|
id="test"
|
|
|
|
to="/nested/foo/test"
|
|
|
|
>
|
2023-09-06 19:44:59 +00:00
|
|
|
to /nested/foo/test
|
|
|
|
</NuxtLink>
|
2022-03-08 18:03:21 +00:00
|
|
|
</div>
|
|
|
|
</template>
|