0.0.6 • Published 7 years ago
solid-opinion v0.0.6
Solid Opinion Widget
A primary Solid Opinion module
Installing
npm install solid-opinion
Running the tests
This project uses Mocha and Karma to run test. Command to run all test suites:
npm run test
Build project
npm run build
Start the project
npm run start
Including modules
You can include additional solid-opinion modules to extend functionality An example of including like module, which is a react-component:
npm install s-like --save
Including these modules in your base application and package.json should contain this package as dependency.
After installing put this component into your react code. An example for .jsx file:
import React from 'react';
import Like from "s-like"; //import new component
let { Component } = React;
export default class Item extends Component {
render() {
return (
<div>
<Like/>
</div>
);
}
}