Can you follow up a dynamic route with a static route?
Unanswered
Vaux's Swift posted this in #help-forum
Vaux's SwiftOP
For example, my route that I want is app/[game]/mgt
I already have a app/[game] route with page.tsx - This page takes search params as well
So the URL I'm trying to create is https://www.baseurl.com/gameName?token=123omg123omg/mgt
How do I name the folders to achieve this?
I already have a app/[game] route with page.tsx - This page takes search params as well
So the URL I'm trying to create is https://www.baseurl.com/gameName?token=123omg123omg/mgt
How do I name the folders to achieve this?
2 Replies
Vaux's SwiftOP
With some experimentation, yes you can. So app/[game]?token=123omg123omg/mgt actually does work
folders would look like [game] > mgt