@imaginelife/component-creator

A CLI for creating React Components


License
ISC
Install
npm install @imaginelife/component-creator@0.1.0

Documentation

component-creator

This project is intended to be an easy-to-use CLI-First react component creator.
Each component file will start by including...

How To Use

Create a Runnable Command

  • As a suggestion, add a script to your project's package.json that run component-creator, something like...
  "scripts": {
    "cc": "node ./node_modules/component-creator",
  }

Use The Terminal

  • Change directory cd into the directory where you'd like to put your new component: something like a components directory
  • run your recently added package.json script: npm run cc
  • follow the CLI & you'll end up with a new component