1.1.1 • Published 3 years ago

@bradgarropy/plop-generator-react-component v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

💧 plop generator react component

version downloads size github actions coverage typescript contributing contributors discord

A plop generator for react components.

📦 Installation

This package is hosted on npm.

npm install --save-dev @bradgarropy/plop-generator-react-component

🥑 Usage

First, be sure you have plop installed. Then, add the following line to your plopfile.js.

plop.load("@bradgarropy/plop-generator-react-component")

Now you'll have access to the component generator as shown below.

plop component

The component generator scaffolds a component, including tests and an associated css module. The resulting directory looks like this for a component named Component.

src
└── components
   └── Component
      ├── index.ts
      ├── Component.tsx
      ├── Component.test.tsx
      └── Component.module.css

❔ Questions

🐛 report bugs by filing issues
📢 provide feedback with issues or on twitter
🙋🏼‍♂️ use my ama or twitter to ask any other questions

✨ contributors

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago