Thanks to visit codestin.com
Credit goes to github.com

Skip to content

🚿 Rinse, React, repeat. A boilerplate to build a React component library.

License

Notifications You must be signed in to change notification settings

jsondavis/rinse-react

 
 

Repository files navigation

Rinse

Rinse, React, repeat. A boilerplate to build a React component library.

Get Started

To start your own React component library using this as a template, clone this repository a

$ git clone https://github.com/jsondavis/rinse-react <app-name>
$ cd <app-name>

At this point you could opt to keep git history and just alter the remote origin. Another option is to remove the git directory as follows and just reinitialize the repo.

$ rm -rf .git
$ git init

Development and Storybook

You can easily develop and interact with your components by using Storybook. To run the local server, simply run:

$ npm run setup
$ npm run start

The setup script will install the dependencies, validate that the tests pass and build the library.

Navigate to http://localhost:6006 to view your stories. They should automatically update as you develop.

Storybook will pick up any story named {component}.stories.js file in any sub directory of src.

About

🚿 Rinse, React, repeat. A boilerplate to build a React component library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%