Skip to content
Discussion options

You must be logged in to vote

There are packages that gives you that feature, e.g. yesmeck/remix-routes. The way it works if you want to do it yourself is that use remix routes --json to grab the list of routes and then parse the JSON to generate the type-safe object.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jrr
Comment options

Answer selected by jrr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants