generator-tb-component
v0.1.1
Published
Generates a React component in a directory along with styles (scss), optional Relay wrapper, and optional examples file to be used with react-styleguidist
Downloads
12
Readme
generator-tb-component
Generates a React component in a directory along with styles (scss), optional Relay wrapper, and optional examples file to be used with react-styleguidist
Installation
First, install Yeoman and generator-tb-component using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-tb-component
Then generate your new component:
yo tb-component ComponentName [src//parent/directory]
If you don't include a path as the second argument, the component directory will be created in the current working directory.
License
BSD-3-Clause © Idris Mokhtarzada