Skip to content

hovdallakyan/react-generate-component-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

react-generate-component-script

The bash script that lets you to generate empty component

Commands

Use rc-new componentName to generate a new functional (a.k.a. stateless) component

Use rc-new componentName c to generate a new Class component

The script generate a new react component in the same directory as you are in and the name of the component folder is your componentName, also it generates componentName.js, componentName.scss and componentName.test.js files inside the component folder.

If you want to make a the script global: Mac OS X - add the script file in to /usr/local/bin folder

About

The bash script that lets you to generate empty react component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages