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
Storybook export? #19
Comments
@batistein Sorry for the delay! A few others have brought this up as well. I'm not familiar with building Storybook addons. I assume the integration would be similar to the one we did for Nuxt Tailwind module. In short, the addon would need to iframe in the config viewer that would spin up locally when storybook starts up. I'll take a look at the addon on docs and see if this is feasible. |
Any update on it? I want to put tailwind config in the storybook. |
You can just use https://storybook.js.org/addons/@geometricpanda/storybook-addon-iframe for this purpose. Works perfectly. |
@zoltangy This is great. Thanks for the suggestion. During local development do you set the iframe url to the local running version of the viewer and reference the exported static version when you deploy your Storybook to a static host? |
I only use it with the exported static version, I mostly needed it as a reference for others when deploying the storybook. |
Awesome. Thanks again. Instead of developing a specific addon for Storybooks, I will add a section to the README about integrating it with Storybook. That should solve it. @Beardless Let us know if you get it to work based on the above. |
First of all. Fantastic tool!!
I have the usecase that we do all UX documentation in storybook. Is there any way to link the tool directly to storybook as well?
The text was updated successfully, but these errors were encountered: