Skip to content

emilianobovetti/react-spawn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-spawn

yarn add --dev react-spawn
# or
npm install --save-dev react-spawn

Add "scripts": { "spawn": "react-spawn" } in your package.json

Now npx spawn ComponentName will create a ComponentName directory in src/components.

Custom template files

If a .spawn-templates directory exists inside your app root it'll be used in place of default-templates.

Every occurrence of __name__ in file names or in their content will be replaced with the component name.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published