-
Notifications
You must be signed in to change notification settings - Fork 106
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
Help wanted: Svelte example seems not working #16
Comments
I'm not sure why this happens - I only use React myself and I have never used Svelte, so I'm not quite sure how to fix it. But I'm of course open for PRs! |
I can reproduce this. (Although the |
I'm trying to wrap my head around this problem, but I have no clue where I should even start debugging this error. Maybe someone with expert knowledge in Storybook can tell us more about it? I just have a slight guess that the problem comes from the |
Maybe found the bug...
So using webpack 4 the console output is:
but using vite builder there is not output whatsoever. |
The CSF addon only works on webpack due to this |
I will fix this issue if anyone provides an esm version of addon-svelte-csf. |
Hey, I got it working but there is a problem...
SO in a story file:
is converted into this
which is not supposed to happen, instead it is supposed to follow the |
Turns out you can remove that alias. |
PR Fix: #25 |
It seems like that the svelte example is not working. Here are the steps to reproduce the error.
Can you verify this behaviour?
Install vite with svelte tempalte
Install dependencies
Install storybook with next dist-tag
Run storybook dev server
Error Message
Do you have any pointers for me regarding this error? Or maybe I'm just holding it wrong 🤷♂️
Thank you so much for building this! Can't wait to finally use it with Svelte 🧡
The text was updated successfully, but these errors were encountered: