Jorer / ds-workshop-team-2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Start you own library

git clone https://github.com/SC5/ds-workshop-storybook-boilerplate.git
cd ds-workshop-storybook-boilerplate
rm -rf .git
git init

Development

Run Storybook

npm install
npm start

Tools

Adding a new component

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.

Build the library

npm run build

Try out at the demo page

npm run demo

Edit sources in demo folder.

Build and publish documentation

You can build Storybook documentation as a static website and publish to GH pages.

npm run build-storybook
npm run deploy-storybook

About


Languages

Language:JavaScript 97.2%Language:HTML 2.8%