Replies: 1 comment
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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