1.1.0 • Published 8 years ago
storybook-react-demo v1.1.0
storybook-react-demo
This is the resulting project for my All Things Open presentation, "Secrets to Modular Component Design Systems".
Storybook Demo: https://priley86.github.io/storybook-react-demo/
Getting Started
npm install --save storybook-react-demoThen import UI modules as ES6 modules:
import { Button } from 'storybook-react-demo'Storybook UI Development
This project uses React Storybook to test and demo new React UI components.
How to use Storybook locally:
npm i
npm run storybookHow to deploy storybook to github pages in your fork:
npm run build-storybook
npm run storybook:deployTo deploy Storybook to a remote other than origin, pass a --remote flag to npm run storybook:deploy.
For example, to deploy to your upstream remote:
npm run storybook:deploy -- --remote=upstreamTo deploy Storybook to a target branch and serve with rawgit instead of gh-pages, pass --branch flag
to npm run storybook:deploy.
For example, to deploy to feature-branch target:
npm run storybook:deploy -- --branch=feature-branch