Help in complex dynamic routes #13997
Unanswered
AhmadAlYaaqba
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am wondering how to implement the following dynamic route with a different component to render
URL structure ( already have in a previous application and I don't want to lose it ):
1 - /assets/[asset-title]/browse-[assetId] ====> this should render PageA
2- /assets/[asset-title]/play-[assetId] ====> this should render PageB
and each one of these components going to have different ('getInitialProps')
I could not find a way to make this dynamic route with folder structure
can anyone help or suggest a good solution for this?
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions