Clodflare Page not running Js

Hello folks, i deployed my first qwik app to Cloudflare Pages. Unfornately none of the js seems to work. You can find it here: https://8d2ed25a.zankel-engineering.pages.dev/ Did anybody have similar problems? Sebastian
7 Replies
Walshy
Walshy2y ago
I'm not seeing any JS get loaded
JustinNoel
JustinNoel2y ago
The only JS is an inline script tag.
Sebastian Zankel
Sebastian ZankelOP2y ago
Yes that is how qwik works. The page is server side rendered.
Walshy
Walshy2y ago
Sure but if you want JS to work then you'd need some JS loaded i don't use qwik so can't really advise, i'd recommend asking in their support channels
Sebastian Zankel
Sebastian ZankelOP2y ago
But there is and inline script. The js gets loaded on demand from the snippet when it is really needed as fast as I know. Unfortunately when I serve it locally with wrangler it also doesn't work. https://1f75fef6.webpage-cit.pages.dev/ Hmm don't know why. Seems like I need to figure it out on my own.
Isaac McFadyen
If the inline JS (QwikLoader, which loads the other JS) isn't being run then that's a Qwik issue, not a Pages issue. I'd recommend discussing with them. Even the fact that you don't see any failing network requests means that it's not even trying to load an on-demand JS bundle

Did you find this page helpful?