Skip to content

How to use hybrid routes? #65

Answered by kiliman
k11q asked this question in Q&A
Aug 22, 2023 · 2 comments · 5 replies
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 k11q
@k11q
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