revstar-ui-common

1.0.22 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i revstar-ui-common

Weekly Downloads

2

Version

1.0.22

License

ISC

Unpacked Size

692 kB

Total Files

27

Last publish

Collaborators

  • jingcai86