https://github.com/excessivecoding/rollup-starter-react-lib
https://github.com/excessivecoding/rollup-starter-react-lib
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/excessivecoding/rollup-starter-react-lib
- Owner: excessivecoding
- Created: 2021-01-09T15:44:04.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-09T15:49:01.000Z (over 4 years ago)
- Last Synced: 2025-03-01T00:39:42.444Z (about 2 months ago)
- Language: JavaScript
- Size: 94.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rollup Starter React Lib
A minimal starter template to create React.js library using Rollup.
Heavily based on [Harvey's blog post](https://blog.harveydelaney.com/creating-your-own-react-component-library/).
## Usage
### Work on the package
```bash
yarn dev
```And then run the `example/` project:
```bash
cd example && yarn dev
```### Publish
First, build the package
```bash
yarn build
```Then publish it on NPM
```bash
yarn publish
```## How to
- [Add Tailwind.css into your React.js library]()