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
Configure vite.config.base and vite.config.reactRouter.basename.
Add a Link component to the root index, or an action against the root index.
Observe that .data requests against root index are routed to localhost:5173/${basename}.data, rather than e.g. localhost:5173/${basename}/_root.data.
Observe that .data requests against root index 404.
Expected Behavior
.data requests against root index should resolve accounting for configured basename.
Actual Behavior
.data requests against root index 404. .data requests against nested routes resolve as expected.
In minimal repro above, try clicking links to Home and submitting action on that route. Then try the same at About. Observe that About works while Home (root index) doesn't.
remorses, LeoDanielsson, wzhqwq, AsamK, hannseman and 13 more