We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What I tried:
call_to_action
(*) tried creating vue/nuxt component named CallToAction.vue, call_to_action.vue and other variants
CallToAction.vue
call_to_action.vue
After some digging, I think the problem is basically here:
storyblok-vue/lib/StoryblokComponent.vue
Line 2 in c8dee1c
From my understanding, SB does not allow component names with dashes, while on the other hand Vue/Nuxt does not like components with underscores.
So my (perhaps naive) suggestion would be to replace the code above with (which replaces underscores with dashes):
<component :is="blok.component.replace(/_/g, '-')" v-bind="{ ...$props, ...$attrs }"></component>
The text was updated successfully, but these errors were encountered:
I'm runnig in to the same issue, is there a roadmap on when this is fixed?
Sorry, something went wrong.
Hi, @uuf6429 and @bootsmann1995 sorry that it took so long to get answered, I would ask if this issue is still valuable so I can prioritize it.
Thanks
We gave up on that a long time ago and switched to a PHP implementation.
Sorry to hear that @uuf6429
Hi, @uuf6429 and @bootsmann1995 sorry that it took so long to get answered, I would ask if this issue is still valuable so I can prioritize it. Thanks
+1 from me, this bug caused issues for me before, would be grateful for a fix.
my condolences 😛
No branches or pull requests
What I tried:
call_to_action
SB components, but it didn't work(*)(*) tried creating vue/nuxt component named
CallToAction.vue
,call_to_action.vue
and other variantsAfter some digging, I think the problem is basically here:
storyblok-vue/lib/StoryblokComponent.vue
Line 2 in c8dee1c
From my understanding, SB does not allow component names with dashes, while on the other hand Vue/Nuxt does not like components with underscores.
So my (perhaps naive) suggestion would be to replace the code above with (which replaces underscores with dashes):
The text was updated successfully, but these errors were encountered: