How to use Hash Mode Router in SolidStart?

I think this is not possible at the moment, as properties for StartRouter isn't configurable, but I'd prefer hash mode routing for SPA.
8 Replies
Alex Lohr
Alex Lohr2y ago
GitHub
GitHub - solidjs/solid-router: A universal router for Solid inspire...
A universal router for Solid inspired by Ember and React Router - GitHub - solidjs/solid-router: A universal router for Solid inspired by Ember and React Router
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Ciantic
CianticOP2y ago
Hmm, I understood that with SolidStart I can generate static single file app, maybe I was wrong
Alex Lohr
Alex Lohr2y ago
Static, yes. Single file, no.
Ciantic
CianticOP2y ago
Looked at the static, I don't think it's static. If I throw these files in regular ol Apache server it won't work I think. It requires this special server.js
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Ciantic
CianticOP2y ago
@1.l that's odd. How does it work if I have /foo/[id] if there is just one file? That's why I think this needs hashes for static. I btw tried to make file like foo#[id].tsx but it didn't work as I wanted it crashed the whole thing
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server