Skip to content

Control the order of routes #357

Closed Answered by posva
mszkb asked this question in Q&A
Apr 4, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You have to define a custom meta property that allows you to sort the routes. You could for example add an order property and then use it in a getRoutes().sort()

Replies: 1 comment 1 reply

Comment options

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

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