node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

getstorybook

getstorybook

Easiest way to add Storybook support to your project.

First install the storybook generator globally.

npm i -g getstorybook

Then go to your project and run:

getstorybook

That's all you've to do.


Yarn support

getstorybook also supports yarn. If you have installed yarn in your system, it'll detect it and use yarn instead of npm.

If you don't want to use npm always you can use the --use-npm option like this:

getstorybook --use-npm

For more information, refer React Storybook documentation.