mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 18:13:54 +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>
|