Custom vite base path causes prerender to fail in SPA mode
When setting vite's
base option, I get the following error:
I can build the app if I omit the base setting from the vite config, but then the _shell.html roots at / instead of the intended custom base path:
any ideas?4 Replies
fascinating-indigo•3mo ago
did you set router basePath as well?
optimistic-goldOP•3mo ago
I have tried with both this rewrite set and unset, same result
fascinating-indigo•3mo ago
can you please create a github issue for this, including a complete minimal reproducer project?
optimistic-goldOP•3mo ago
created here https://github.com/TanStack/router/issues/5261
GitHub
Non-default Vite
base parameter causes prerender to fail in SPA m...Which project does this relate to? Start Describe the bug (creating issue from discord discussion here https://discord.com/channels/719702312431386674/1421224773895192627/1421224773895192627) When ...