-
Notifications
You must be signed in to change notification settings - Fork 27
storybook cheatsheet
peterchang edited this page Jul 7, 2017
·
2 revisions
It is an example of setting up env and first component dev :
$ npm i -g @storybook/cli
$ cd my-react-app
$ getstorybook
$ npm i --save-dev @storybook/react
$ npm run storybook
sh: start-storybook: command not found
npm ERR! file sh
solution
$ npm i --save-dev @storybook/react
$ npm run storybook