You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
Related to #14381
Setting customElement: true in "svelteOptions" (like below) breaks the built-in <HOC>, <PreviewRender>, and <SlotDecorator> components since they are not configured to work with as Custom Elements. (See "Illegal Constructor" in screenshot)
Describe the solution you'd like
Setting customElement: true in main.js should result in Storybook being able to render custom web components.
Describe alternatives you've considered
I've tried the following custom webpack config, but it's not working (see error below). Perhaps someone can point me in the right direction
Is your feature request related to a problem? Please describe
Related to #14381
Setting
customElement: true
in "svelteOptions" (like below) breaks the built-in<HOC>
,<PreviewRender>
, and<SlotDecorator>
components since they are not configured to work with as Custom Elements. (See "Illegal Constructor" in screenshot)Example config (not working):
Describe the solution you'd like
Setting
customElement: true
in main.js should result in Storybook being able to render custom web components.Describe alternatives you've considered
I've tried the following custom webpack config, but it's not working (see error below). Perhaps someone can point me in the right direction
Which results in the following error:
Are you able to assist to bring the feature to reality?
Probably not, which is why I opened this ticket, but willing to try to learn
The text was updated successfully, but these errors were encountered: