On a terminal, just type this:
npm i -g bs-react-cli
or yarn add global bs-react-cli
For function components:
- bs-cli component componentName -t func
For class components:
- bs-cli component componentName -t class
-t type
Default value: class Avaliable values:
- class (class based component);
- func (function based component).