Skip to content

Commit

Permalink
feat: add support for slots
Browse files Browse the repository at this point in the history
  • Loading branch information
djam90 committed Apr 21, 2023
1 parent 7295a1b commit 6a05c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/StoryblokComponent.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<component :is="blok.component" v-bind="{ ...$props, ...$attrs }"></component>
<component :is="blok.component" v-bind="{ ...$props, ...$attrs }" v-slots="{ ...$slots }"></component>
</template>

<script setup lang="ts">
Expand Down

0 comments on commit 6a05c5f

Please sign in to comment.