1.0.1 • Published 2 years ago
my-roll-up-lib v1.0.1
Demo for using rollup to build typescript react component
Add global tools
npm install -g rollup
npm install -g parcel
npm install -g typescript
Run and test component lib
yarn
yarn demo
Connect your ui component to other application
./my-app is create from react ts default
yarn build
npm link
cd my-app
npm link myRollUpLib
Start app with your component
cd my-app
yarn start
1.0.1
2 years ago