0.0.1 • Published 7 years ago
go-react v0.0.1
G React Generator
npm install -g go-reactCLI Usage
Args
c- component namet- component type. Valid types are:component,pure,container(defaults tocomponent)d- component's base directory
g react -c Button -t pure -d ./srcThis will generate a Button pure component in the currect working directory's src folder
src/
Button/
Button.js
Button.spec.js
index.js0.0.1
7 years ago