Replies: 4 comments
-
seems to me like a good idea |
Beta Was this translation helpful? Give feedback.
0 replies
-
or dynamic directories to support multiple domains <div id="body">
<Routes>
<FileRoutes directory={(host)=>"src/" + host} />
</Routes>
</div> |
Beta Was this translation helpful? Give feedback.
0 replies
-
This would be very useful |
Beta Was this translation helpful? Give feedback.
0 replies
-
In the meantime, you could write a higher order component that wraps the file routes, and makes the changes you desire. Or you could hook into vinxi/vite yourself and make a new filesystem router that meets your needs. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Being able to customize routes directory of
<FileRoutes>
component would allow to have more flexibility and ability to have several independent routers.I'm thinking about something like this:
Beta Was this translation helpful? Give feedback.
All reactions