[SOLVED] Deploy Quasar in Netlify / Broken links when refreshing
Hi! I’ve been trying to deploy my app in Netlify.
PROBLEM: I managed to run the app in SPA mode, but links are not working: error 404
QUESTIONS about deployment in NETLIFY: - How can I make the links work in SPA???
dobbel last edited by
@dobbel your answer is not solving my issue: Broken links.
beets last edited by
@Lou-Rectoret I haven’t deployed to netlify before, but as I understand it, they’re basically a CDN, so you cannot run SSR mode. However to fix your SPA problem, try this: https://docs.netlify.com/routing/redirects/rewrites-proxies/#history-pushstate-and-single-page-apps
Hey @beets I just tried but it’s not working:
/info http://www.masiesxviure.cat/info /info#objectius http://www.masiesxviure.cat/info#objectius /info#com-funciona /info#com-funciona
I’m lost. I don’t know what is missing
beets last edited by beets
@Lou-Rectoret I think you just want:
/* /index.html 200
Edit: and no other rules
This post is deleted!
I just found the solution!!!
/* / 200