0.1.0 • Published 2 years ago

@imaginelife/component-creator v0.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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