You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @theixdev, as this mostly involve setting a custom basename in the router itself as well, I'd wouldn't expect it to work automatically. You'd need to set the router's basename prop along side Vite's base option.
Describe the Bug
Create an app and update it's vite.config.ts to set a base path to something other than '/' i.e '/Test/'
All routes generated ignore the base path.
Generouted Version
@generouted/react-router 1.15.9
Your Example Website or App or Reproduction
None
Steps to Reproduce the Bug or Issue
Create an app and update it's vite.config.ts to set a base path to something other than '/' i.e '/Test/'
All routes generated ignore the base path.
Expected Behavior
As a user I expect the base path config to be respected so that routes will generate with the base path factored in.
i.e if the base path is set to '/Test/' I expect the root index page to navigate to '/Test/' and not '/'
Screenshots or Videos
No response
Platform
Chrome
Additional context
No response
The text was updated successfully, but these errors were encountered: