Skip to content

Commit

Permalink
docs: remove path for <ContentDoc> in example (#24244)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pitabread8 committed Nov 16, 2023
1 parent 3238225 commit 1b6f738
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/2.guide/2.directory-structure/1.content.md
Expand Up @@ -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>
```
Expand Down

0 comments on commit 1b6f738

Please sign in to comment.