1.0.0 • Published 2 years ago

@andersco/generators v1.0.0

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

@andersco/generators

Generators I use regularly. This is a wrapper around plop.js with my own custom templates.

Install

npm i -g @andersco/generators

Generate React Component and Corresponding test file

  • Assumes you store components in src/components
  • From the root of your project, run arco
  • Enter componentent name and hit return
  • A new folder based on the entered name and containing a component file, a test file, and an index file, will be added to src/components