Adding storybook
See original GitHub issueGuys,
This project rocks. To follow this path, we at https://github.com/kadirahq/react-storybook is also working on a zero config mode.
I’m asking whether will that be possible to add storybook into this mix?
Basically, this is something I’m proposing:
- We’ll ship
react-storybook
into dependencies - Then when a user runs
npm run storybook
it’ll start running stories locatedsrc/stories
or somewhere like that? - There’s no need to have any other config files.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:11 (10 by maintainers)
Top Results From Across the Web
Install Storybook
Install Storybook · Install the required dependencies. · Setup the necessary scripts to run and build Storybook. · Add the default Storybook configuration ......
Read more >Storybook for React tutorial
Storybook runs alongside your app in development mode. It helps you build UI components isolated from the business logic and context of your...
Read more >Introduction to Storybook
Storybook is a tool for UI development. It makes development faster and easier by isolating components. This allows you to work on one...
Read more >Setup Storybook - JS.ORG
Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it ... Add external CSS or...
Read more >Install addons - Storybook
Storybook has hundreds of reusable addons that are packaged as NPM modules. Let's walk through how to extend Storybook by installing and registering...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll reopen—I don’t want to force Storybook integration upon anyone but I’d like to see it documented in the Usage Guide. @arunoda Would you like to make a PR?
I think it is out of scope to ship storybooks by default with this project, but I think it would be nice if there were a way to add storybooks to a
create-react-app
app, without having to eject or to configure things. What is the workflow for an app that is developing using storybooks - do you have a dev server that you run withnpm start
like usual, but you also have a “storybook server” that you can run withnpm run storybook
? I was hoping for therun
command to be useful for additional tooling like this, but if this is building its own separate server then it’s a bit of a different case.