-
Notifications
You must be signed in to change notification settings - Fork 127
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
Use Storybook for an isolated dev environment #731
Comments
I think it could work for One concern I have with Storybook is how demos can get tied to the Storybook API, making it difficult to integrate somewhere else, but I guess we could take care of separating the demos ourselves. The integration of their visual testing service seems interesting, though I’m not sure it would be worth the cost since we are using scoped styles everywhere and visual regressions are not happening often. If you want to give it a try, I think we could start by taking one of the devbox demos, and see how it would look as a Storybook story. From there, we could decide if moving to Storybook would be worth it. What do you think? |
I was thinking that instead of starting from zero using storybook, we could use lerna and leave My main problem when I was developing the |
I should write this somewhere, but you should get the changes automatically by doing: cd aragon-ui/
yarn link
cd devbox/
yarn link @aragon/ui Then: # shell session 1
yarn dev # shell session 2
yarn devbox I’m not sure Lerna would help a lot since both If not, perhaps we could add a script to do the linking automatically? |
Thanks! I think creating a script would be the better choice, and perhaps later add lerna if needed. |
Maybe we should write a script and automatically do this on a local, non-CI install? |
What do you guys think of substituting
devbox
for Storybook?Motivations
Adding storybook can ease the development and visual testing of individual components. Also, can be used to showcase different use cases of these components.
The text was updated successfully, but these errors were encountered: