Skip to content

Commit

Permalink
docs: update slots example for the content-query component (#2190)
Browse files Browse the repository at this point in the history
  • Loading branch information
Barbapapazes committed Jul 24, 2023
1 parent 1c4c6ab commit a6c549e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/4.api/1.components/4.content-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The `default`{lang=ts} slot can be used to render the content via `v-slot="{ dat
<!-- Similar to <ContentDoc :path="$route.path" /> -->
<template>
<main>
<ContentQuery :path="$route.path" v-slot="{ data }">
<ContentQuery :path="$route.path" find="one" v-slot="{ data }">
<ContentRenderer :value="data" />
</ContentQuery>
</main>
Expand Down

0 comments on commit a6c549e

Please sign in to comment.