git clone https://github.com/SC5/ds-workshop-storybook-boilerplate.git
cd ds-workshop-storybook-boilerplate
rm -rf .git
git init
npm install
npm start
You can add components by using this command
npm run create-component MyComponent
It will create a new folder for the component and basic files for styling and documenting.
npm run build
npm run demo
Edit sources in demo
folder.
You can build Storybook documentation as a static website and publish to GH pages.
npm run build-storybook
npm run deploy-storybook