revstar-ui-common
v1.0.22
Published
Wework revstar UI common component for React
Downloads
9
Readme
Wework revstar UI Common component and service for React framework
Utilize Webpack 4 and Babel 7.
It will compile down to commonjs, and will require a peer dependancy of react, meaning it will use whatever version of react the host project is using. Hopefully this will minimize compatibility issues.
Based on this tutorial by codewithbernard
To start
npm i
npm start
Edit src/index.js
(your component)
To view your component in isolation with a basic webpack dev server:
type:
npm run dev
Edit /srctest/app.js
to change the parent environment, pass in props, etc.
To test your component in another project (locally), before publishing to github:
Build this project:
npm run build
Containing Services LocalStorage Service API service Utility Service