Skip to content

How can I analysis the remix like file based routing and generate for react router ? #11944

Closed Answered by sergiodxa
wenerme asked this question in Q&A
Discussion options

You must be logged in to vote

If you have @remix-run/dev script you can use npx remix routes --json, this will give you a JSON with the route configuration, although it's not fully compatible with React Router you could transform it to what createBrowserRoute expects.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by wenerme
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