Make your personal react component.
First, install package:
$ npm install
You can create your react component and published on npm.
For example, if I already published and I want to use this component:
import React, { Component } from 'react';
import Test from 'react-npm-boilerplate';
export default class App extends Component {
render() {
return (
<Test />
);
}
}
In your website, you can see Hello World
as title.
$ npm test
MIT