A plop
generator for Remix
routes.
This package is hosted on npm.
npm install @bradgarropy/plop-generator-remix-route
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
🐛 report bugs by filing issues
📢 provide feedback with issues or on twitter
🙋🏼♂️ use my ama or twitter to ask any other questions
Brad Garropy 💻 📖 |