Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StoryblokComponent not forwarding slots #268

Open
djam90 opened this issue Apr 26, 2023 · 1 comment · May be fixed by #263
Open

StoryblokComponent not forwarding slots #268

djam90 opened this issue Apr 26, 2023 · 1 comment · May be fixed by #263
Assignees
Labels
enhancement [Issue][PR] New feature

Comments

@djam90
Copy link

djam90 commented Apr 26, 2023


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

@alvarosabu alvarosabu linked a pull request Apr 27, 2023 that will close this issue
@alvarosabu
Copy link
Contributor

Hi there @djam90 thanks for open this ticket and the correspondent PR, I just mention my colleagues on the PR for approval

@alvarosabu alvarosabu added the enhancement [Issue][PR] New feature label Apr 27, 2023
@alvarosabu alvarosabu self-assigned this Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement [Issue][PR] New feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants