Custom /__manifest
path - v3_lazyRouteDiscovery
#10408
Unanswered
eliashelleborn
asked this question in
Q&A
Replies: 1 comment
-
@eliashelleborn - take a look here: remix-run/react-router#12418 it's configurable through Vite. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
We're in the progress of adopting the
v3_lazyRouteDiscovery
future flag. But ran into an issue that to my understanding makes it impossible to adopt this with our current setup.We have multiple Remix (and other) applications under the same domain. So all our different app manifest routes would end up on the same path, for example
example.com/__manifest
. The official solution for this seems to be providing abasename
in the Vite Remix plugin config. But this will not work for us as the first path segment is always a "locale", so/uk/my-page
. We've solved this for our API routes by always prefixing them with the app name, but since this is an internal route it's not possible without changing thebasename
.So my question is: is there a way to set a custom path for the
/__manifest
without using thebasename
option?Beta Was this translation helpful? Give feedback.
All reactions