1.0.8 • Published 5 years ago
ui-cra-lib v1.0.8
Development in the lib
1- Initialize the project by installing the packages with resource to:
npm run init
2- Run the src-code compiler:
npm start
3- In a seperate cli window run the following to see a live preview of the lib in a project:
cd example
npm start
ui-cra-lib
CS React UI Library
Installing the CS lib
npm install --save ui-cra-lib
Usage
import React, { Component } from 'react';
import MyComponent from 'ui-cra-lib';
import 'ui-cra-lib/dist/index.css';
class Example extends Component {
render() {
return <MyComponent />;
}
}