bradgarropy / plop-generator-remix-route

A plop generator for Remix routes.

Home Page:https://www.npmjs.com/package/@bradgarropy/plop-generator-remix-route

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ’§ plop generator remix route

version downloads size github actions coverage typescript contributing contributors discord

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

πŸ› report bugs by filing issues
πŸ“’ provide feedback with issues or on twitter
πŸ™‹πŸΌβ€β™‚οΈ use my ama or twitter to ask any other questions

✨ contributors


Brad Garropy

πŸ’» πŸ“– ⚠️ πŸš‡

About

A plop generator for Remix routes.

https://www.npmjs.com/package/@bradgarropy/plop-generator-remix-route

License:MIT License


Languages

Language:TypeScript 57.9%Language:Handlebars 21.6%Language:JavaScript 19.0%Language:CSS 1.5%