`@solidjs/router` doesn't navigate in production mode
Entry html:
and app_loader:
Video with dev and prod modes:
4 Replies
@thetarnav I asked you about routing yesterday, maybe you have an Idea what am I missing here
I also tried
navigate
from useNavigate
, no differencenot sure if that is a correct path for catch all
if would be
/*all
I think
or **
idkyou can look at this template: https://github.com/solidjs/templates/tree/main/ts-router
GitHub
templates/ts-router at main ยท solidjs/templates
Vite + solid templates. Contribute to solidjs/templates development by creating an account on GitHub.
Yes it's
**
, but no difference.
However, adding 404.html
fallback with SPA entry fixes it -_-
could be Deno problem
or ssr: true
That was Deno <- fault
Any ideas why it happens?
I deleted deno.lock and it built correctly. Huh.