Skip to content

Commit

Permalink
docs(ComponentExample): fix code slot with latest @nuxt/content
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Jan 23, 2024
1 parent 5b134b0 commit 6fafd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/components/content/ComponentExample.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<ContentSlot v-if="$slots.default" :use="$slots.default" />
</div>
<template v-if="hasCode">
<ContentSlot v-if="$slots.code" :use="$slots.code" />
<slot v-if="$slots.code" name="code" />
<ContentRenderer v-else :value="ast" class="[&>div>pre]:!rounded-t-none [&>div>pre]:!mt-0" />
</template>
</div>
Expand Down

1 comment on commit 6fafd78

@vercel
Copy link

@vercel vercel bot commented on 6fafd78 Jan 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui – ./

ui-git-dev-nuxt-js.vercel.app
ui-nuxt-js.vercel.app
ui.nuxt.com

Please sign in to comment.