mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
docs: remove path for <ContentDoc>
in example (#24244)
This commit is contained in:
parent
3238225476
commit
1b6f738fb8
@ -41,7 +41,8 @@ To render content pages, add a [catch-all route](/docs/guide/directory-structure
|
||||
```vue [pages/[...slug\\].vue]
|
||||
<template>
|
||||
<main>
|
||||
<ContentDoc :path="$route.path" />
|
||||
<!-- ContentDoc returns content for `$route.path` by default or you can pass a `path` prop -->
|
||||
<ContentDoc />
|
||||
</main>
|
||||
</template>
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user