Open djam90 opened 1 year ago
For the lib/StoryblokComponent.vue component to be useful, it would be helpful if we could use slots with the component.
Slots are not forwarded through the dynamic component in lib/StoryblokComponent.vue
<template> <StoryblokComponent v-if="story" :blok="story.content"> <div>Some slot content here</div> </StoryblokComponent> </template>
The above code will not render the slot content.
PR to resolve: https://github.com/storyblok/storyblok-vue/pull/263
Hi there @djam90 thanks for open this ticket and the correspondent PR, I just mention my colleagues on the PR for approval
Expected Behavior
For the lib/StoryblokComponent.vue component to be useful, it would be helpful if we could use slots with the component.
Current Behavior
Slots are not forwarded through the dynamic component in lib/StoryblokComponent.vue
Steps to Reproduce
The above code will not render the slot content.
PR to resolve: https://github.com/storyblok/storyblok-vue/pull/263