mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
docs: fix file name (#26852)
This commit is contained in:
parent
be73cc9cf9
commit
1a0cde7e10
@ -193,7 +193,7 @@ To display the `child.vue` component, you have to insert the `<NuxtPage>` compon
|
||||
</template>
|
||||
```
|
||||
|
||||
```vue {}[pages/child.vue]
|
||||
```vue {}[pages/parent/child.vue]
|
||||
<script setup lang="ts">
|
||||
const props = defineProps(['foobar'])
|
||||
|
||||
@ -216,7 +216,7 @@ If you want more control over when the `<NuxtPage>` component is re-rendered (fo
|
||||
|
||||
Or alternatively:
|
||||
|
||||
```vue twoslash {}[pages/child.vue]
|
||||
```vue twoslash {}[pages/parent/child.vue]
|
||||
<script setup lang="ts">
|
||||
definePageMeta({
|
||||
key: route => route.fullPath
|
||||
|
Loading…
Reference in New Issue
Block a user