genereact

simple CLI tools for create react component

Usage no npm install needed!

<script type="module">
  import genereact from 'https://cdn.skypack.dev/genereact';
</script>

README

GeneReact npm npm downloads Travis CI

its my own cli tool for the generation of react component

Instalations

  1. npm i -g genereact
  2. run genereact component <name-component...> in your project

Several Components

The command component permit add several component separated for spaces. For component names with more than one word use the character -.

genereact component example more-example

Options

Path

specifies the path where the created component will be stored

genereact component <name...> --path ./path/to/component

the default path is ./src/components

License

The license here: MIT