Skip to content

How to use hybrid routes? #65

Answered by kiliman
khairulhaaziq asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, I was just about to reply. Yes, the README needs to be rewritten with more examples.

Basically, you can take your existing v2 routes, and if you want to organize them into folders, you can create a folder with the + suffix.

As for the route module, I tried to make it flexible. You can use index, layout, page, route, and anything starting with _. This way you can name it like _about, so you don't have a bunch of route.tsx files.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@kiliman
Comment options

Answer selected by khairulhaaziq
@khairulhaaziq
Comment options

Comment options

You must be logged in to vote
3 replies
@kiliman
Comment options

@oswaldoacauan
Comment options

@kiliman
Comment options

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