Skip to content

modsmoss/react-template-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

React Component Template Generator

Install

Clone repo

git clone https://github.com/johannestretton37/react-template-generator.git

Copy the reactGenerator folder into your local bin

cd react-template-generator
cp -r reactGenerator ~/bin/

Make the start script executable

chmod u+x ~/bin/reactGenerator/run.sh

Add a symlink

ln ~/bin/reactGenerator/run.sh /usr/local/bin/rg

NOTE: Feel free to name the symlink how you want. I used rg in the example above (short for React Generator).

Run

Execute the script from the folder where you want to generate the React Component. This will create a folder named ComponentName with a simple react template class.

rg ComponentName

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.3%
  • Shell 2.7%