@vinceflores/react-gen-component
v1.0.1
Published
A CLI tool to generate react components with ease
Downloads
5
Readme
react-gen-component
Github v1.0.0
A CLI tool to generate react components with ease.
Initialize a react app
If you already have a one you can skip to Installation
npx create-react-app [project_name]
cd [project_name]
ex. [project_name]= my_app
Installation
to install use
npm install react-gen-component
or to install it globally
npm install -g react-gen-component
Usage
running this script will generate a new component
npx react-gen-component
You should see something like
Contributing
Contributions are welcome! There are lots of possiblities to what scripts to be added. Here are some of them
- add boiler plate code for each jsx component
- generate specification using a config file
- generate reusable templates