Nuxt/test/fixtures/basic/pages/nested/[foo].vue

22 lines
344 B
Vue
Raw Permalink Normal View History

<script setup lang="ts">
const route = useRoute('nested-foo')
</script>
2022-03-08 18:03:21 +00:00
<template>
<div>
<div>nested/[foo]/index.vue</div>
<div>foo: {{ route.params.foo }}</div>
<div class="big-block" />
<div class="big-block" />
<NuxtPage />
2022-03-08 18:03:21 +00:00
</div>
</template>
<style scoped>
.big-block {
height: 90vh;
width: 100vw;
}
</style>