react-creatify
v0.3.2
Published
simple react component generator
Downloads
16
Maintainers
Readme
react-creatify
Simple react component generator
Installation
npm i -g react-creatify
Usage:
creatify --componentName=App --style=css --typing=js
or
creatify --componentName=Sidebar --typing=ts
or
creatify --componentName=Header --style=styl
NOTE: All arguments are optional.
Default values:
--componentName=App
--style=css
--typing=js
For example:
creatify --componentName=App --style=css --typing=js
This command will create a folder App
in src
folder with this file structure:
src
└── App
├── App.css
├── App.js
└── index.js
where:
App.js
- component file,App.css
- component styles file,index.js
- default import/export for App.js
Troubleshooting
Feel free to open an issue or leave feedback on email.