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
united-yellow•7d ago
did you set router basePath as well?
fair-roseOP•7d ago
I have tried with both this rewrite set and unset, same result
united-yellow•7d ago
can you please create a github issue for this, including a complete minimal reproducer project?
fair-roseOP•7d 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 ...