1.0.1 • Published 3 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 typescriptRun and test component lib
yarn
yarn demoConnect your ui component to other application
./my-app is create from react ts default
yarn build
npm link
cd my-app
npm link myRollUpLibStart app with your component
cd my-app
yarn start1.0.1
3 years ago