react-vicom-lib
A test react vicom lib
How to develop
-
git clone
-
npm install
-
cd into \react-vicom-lib
-
npm start <= Library compiling on changes process
-
cd into react-vicom-lib \react-vicom-lib\example
-
npm start <= Example running on changes process
Create package
npm pack =>react-vicom-lib-1.0.0.tgz
copy and extract in the react project's node_modules or in the Angular project where we want to wrap it
Install
Still not uploaded to npm
npm install --save react-vicom-lib
Usage
import React, { Component } from 'react'
import MyComponent from 'react-vicom-lib'
class Example extends Component {
render () {
return (
<MyComponent />
)
}
}
License
MIT © epetxepe