mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 17:43:59 +00:00
11 lines
194 B
Vue
11 lines
194 B
Vue
<script setup lang="ts">
|
|
const route = useRoute('nested-foo')
|
|
</script>
|
|
|
|
<template>
|
|
<div>
|
|
<div>nested/[foo]/index.vue</div>
|
|
<div>foo: {{ route.params.foo }}</div>
|
|
</div>
|
|
</template>
|