💧 plop generator remix route
A plop
generator for Remix
routes.
📦 Installation
This package is hosted on npm.
npm install @bradgarropy/plop-generator-remix-route
🥑 Usage
First, be sure you have plop
installed. Then, add the following line to your plopfile.js
.
plop.load("@bradgarropy/plop-generator-remix-route")
Now you'll have access to the route
generator as shown below.
plop route
The route
generator creates a route file under app/routes
with the following optional additions.
- Links Function
- Meta Function
- Loader Function
- Action Function
- Catch Boundary
- Error Boundary
❔ Questions
🙋🏼♂️ use my ama or twitter to ask any other questions
✨ contributors
Brad Garropy |