optional dynamic route param [[optionalSlug]] #75797
Unanswered
sharmapukar217
asked this question in
App Router
Replies: 1 comment
-
also, if anyone knows if there's any plan to implement this feature or not. Otherwise i'd move to sveltekit |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
my plan was to create a route /dashboard/[[workspaceId]] in such way that if workspaceId(optional) is present, i use that workspace, else i pick from user's session for current workspace, but nextjs doesn't seem to support such route structure. I get this:
Beta Was this translation helpful? Give feedback.
All reactions