Fast 🚀, elegant 🦄, & Ez 🤚✋ way for buiding your own design system and develop React applications faster.
npm i react-mclib
- create peerdependencies
- use Storybook as the tools for development without buid->install and use in real react project
- use Rollup to build as modules for deploying on NPM
- create rollup.config.js
npm init --save-dev react react-dom
npx sb init
npm i rollup rollup-plugin-babel @rollup/plugin-node-resolve rollup-plugin-peer-deps-external --save-dev
npm i --save-dev @babel/preset-react rollup-plugin-postcss rollup-plugin-terser
npm run build-lib
Chinda Thorn