react-marketing-2
v2.0.5
Published
Rinse, React, repeat. A React component library boilerplate.
Downloads
4
Maintainers
Readme
React 组件市场, React, repeat. A boilerplate to build a React component library.
To learn how this project was made from scratch, read the blog post!
Get Started
To start your own React component library, clone this repository and start your own Git journey!
$ git clone https://github.com/chunhui2001/rinse-react cool-name
$ cd cool-name
$ rm -rf .git
$ git init
$ npm login
# Enter your username, password and email for npmjs.com
$ npm publish
Development and Storybook
You can easily develop and interact with your components by using Storybook. To run the local server, simply run:
$ npm i
$ npm run storybook
Navigate to http://localhost:9001 to view your stories. They should automatically update as you develop.
Storybook will pick up any story from the stories.js
file in a component folder.
Rinse is currently using the latest technology available, so you may need to update your Node versions to latest to accomodate Babel 7 and Webpack 4.