⚡ Rollup + TailwindCSS 3 + Storybook + Typescript ⚡
⚡ Publish React Components with a breeze! ⚡
Click here for demo which is created from this example
- Boilerplate repo allows you publish optimized packages which are compatible with CommonJS, ECMAScript.
- Also, allows you to use Typescript, which is optional.
Sandbox environment
// run these scripts in different terminals
npm run storybook
npm run watch:tailwind
To publish
- Change
name
andpublicConfig
frompackage.json
- Change
version
if you made an update. - Run
npm publish
For More
You can check this nice guide for inspiration.