/rollup-react-component

Publish your React components with tailwindCSS3 + storybook + typescript

Primary LanguageCSS

⚡ 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

  1. Change name and publicConfig from package.json
  2. Change version if you made an update.
  3. Run npm publish

For More

You can check this nice guide for inspiration.