2023-05-09 17:08:07 +00:00
|
|
|
<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>
|
2023-05-09 17:08:07 +00:00
|
|
|
<div>foo: {{ route.params.foo }}</div>
|
2023-09-06 19:44:59 +00:00
|
|
|
|
|
|
|
<div class="big-block" />
|
|
|
|
<div class="big-block" />
|
|
|
|
<NuxtPage />
|
2022-03-08 18:03:21 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
2023-09-06 19:44:59 +00:00
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
.big-block {
|
|
|
|
height: 90vh;
|
|
|
|
width: 100vw;
|
|
|
|
}
|
|
|
|
</style>
|