W
Wasp-lang•13mo ago
Kumaran

Can I host the frontend in github pages?

Hello. I have a doubt. Can I host the frontend in github pages? Please let me know whether I can or not.
5 Replies
miho
miho•13mo ago
Of course you can, the client app is just a Vite + React frontend app 🙂
stylish_seahorse_89981
stylish_seahorse_89981•13mo ago
Hi what is the front end
Kumaran
Kumaran•13mo ago
Hello @miho. Unfortuantely it doesn't works because of this reason - https://create-react-app.dev/docs/deployment/#notes-on-client-side-routing. I had to use this - https://github.com/rafgraph/spa-github-pages#usage-instructions as a fix. Writing it here to help anyone having problems with deploying frontend to github pages.
Vinny (@Wasp)
Vinny (@Wasp)•13mo ago
awesome. thanks!
martinsos
martinsos•12mo ago
A bit late to the party, but I created an issue for this here so we can track it! THanks! https://github.com/wasp-lang/wasp/issues/1591
Want results from more Discord servers?
Add your server