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

Storybook export? #19

Open
batistein opened this issue Dec 21, 2020 · 6 comments
Open

Storybook export? #19

batistein opened this issue Dec 21, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@batistein
Copy link

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?

@rogden
Copy link
Owner

rogden commented Jan 22, 2021

@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.

@rogden rogden added the enhancement New feature or request label Jan 22, 2021
@Beardless
Copy link

Any update on it? I want to put tailwind config in the storybook.

@zoltangy
Copy link

@rogden
Copy link
Owner

rogden commented Nov 2, 2021

@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?

@zoltangy
Copy link

zoltangy commented Nov 2, 2021

I only use it with the exported static version, I mostly needed it as a reference for others when deploying the storybook.
What you're suggesting for development mode sounds like a good idea!

@rogden
Copy link
Owner

rogden commented Nov 2, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants