docs: remove path for <ContentDoc> in example (#24244)

This commit is contained in:
Sita 2023-11-16 06:42:42 -08:00 committed by GitHub
parent 3238225476
commit 1b6f738fb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>
```