generator-tb-component

0.1.1 • Public • Published

generator-tb-component NPM version Build Status Dependency Status Coverage percentage

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

Readme

Keywords

Package Sidebar

Install

npm i generator-tb-component

Weekly Downloads

1

Version

0.1.1

License

BSD-3-Clause

Last publish

Collaborators

  • idris