Qwik .dev.vars (bindings) with CF pages help

Hi there, I'm using qwik and an openai key in my app. From the docs, for bindings, the cf and qwik docs differ slightly (just fyi)

https://developers.cloudflare.com/pages/framework-guides/deploy-a-qwik-site/#use-bindings-in-your-qwik-application

vs

https://qwik.builder.io/docs/deployments/cloudflare-pages/#context

note the .env

The actual issue is when serving locally, normally with wrangler I would use
.dev.vars
. But with vite, im not really sure how you could serve the qwik app and access the .dev.vars, basically saturating the platform.env.

Might be more of a qwik specific issue but worth a ask
Qwik
No hydration, auto lazy-loading, edge-optimized, and fun ๐ŸŽ‰!
Qwik is an open-source, DOM-centric, resumable web application framework designed for best possible time to interactive by focusing on resumability, โ€ฆ
Was this page helpful?