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
I'm not seeing any JS get loaded
The only JS is an inline script tag.
Yes that is how qwik works.
The page is server side rendered.
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
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.
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