Replies: 2 comments 1 reply
-
Another related question would then be - how to specify Every such link could theoretically be generated with a hook that uses eg. |
Beta Was this translation helpful? Give feedback.
-
Did you ever figure something out here? I am just getting started with this project and this seems like a dealbreaker for me if it can't be handled once, for all routes. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to add a common path prefix to every route with file-based routing?
eg. in a multi-tenant / multi-login app, every path starts with eg.
/user/12345/project/12345
.As far as I see, this can currently be achieved by nesting every file under
/user/$userId/project/$projectId
or adding that as a prefix to every source file, both options have fairly... terrible ergonomics (eg. due to making unreadable imports in IDEs and command line paths).Beta Was this translation helpful? Give feedback.
All reactions