mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-05 03:47:12 +00:00
12 lines
241 B
Vue
12 lines
241 B
Vue
<script setup lang="ts">
|
|
const route = useRoute('nested-foo-bar')
|
|
</script>
|
|
|
|
<template>
|
|
<div>
|
|
<div>nested/[foo]/[bar].vue</div>
|
|
<div>foo: {{ route.params.foo }}</div>
|
|
<div>bar: {{ route.params.bar }}</div>
|
|
</div>
|
|
</template>
|