mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-27 07:56:46 +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>
|
</template>
|
||||||
```
|
```
|
||||||
|
|
||||||
```vue {}[pages/child.vue]
|
```vue {}[pages/parent/child.vue]
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
const props = defineProps(['foobar'])
|
const props = defineProps(['foobar'])
|
||||||
|
|
||||||
@ -216,7 +216,7 @@ If you want more control over when the `<NuxtPage>` component is re-rendered (fo
|
|||||||
|
|
||||||
Or alternatively:
|
Or alternatively:
|
||||||
|
|
||||||
```vue twoslash {}[pages/child.vue]
|
```vue twoslash {}[pages/parent/child.vue]
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
definePageMeta({
|
definePageMeta({
|
||||||
key: route => route.fullPath
|
key: route => route.fullPath
|
||||||
|
Loading…
Reference in New Issue
Block a user