Skip to content

StoryblokComponent not forwarding slots #268

Open
@djam90

Description


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

<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: #263

Metadata

Assignees

Labels

feature[Issue] New feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions