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
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•2y ago
Message Not Public
Sign In & Join Server To View
Hmm, I understood that with SolidStart I can generate static single file app, maybe I was wrong
Static, yes. Single file, no.
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•2y ago
Message Not Public
Sign In & Join Server To View
@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 thingUnknown User•2y ago
Message Not Public
Sign In & Join Server To View