mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
709 B
709 B
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 yarn
always you can use the --use-npm
option like this:
getstorybook --use-npm
For more information, refer React Storybook documentation.