Access bindings in dev
I'm following this tutorial:
https://developers.cloudflare.com/pages/framework-guides/deploy-a-svelte-site/
And I've also tried the Qwik tutorial. I'm running the dev server using
But the context is not provided to the request handler. In the case of Svelte,
The SvelteKit docs do say "platform.env is only available in the final build and not in dev mode." But I'm not sure how anyone is doing development without the bindings. Just build every time I want to test?
Am I missing something? Anyone have any suggestions or workaround?
https://developers.cloudflare.com/pages/framework-guides/deploy-a-svelte-site/
And I've also tried the Qwik tutorial. I'm running the dev server using
npm run pages:dev so using wrangler. In the case of Qwik, in the console I can see the message:But the context is not provided to the request handler. In the case of Svelte,
The SvelteKit docs do say "platform.env is only available in the final build and not in dev mode." But I'm not sure how anyone is doing development without the bindings. Just build every time I want to test?
Am I missing something? Anyone have any suggestions or workaround?
Svelte is an increasingly popular, open-source framework for building user interfaces and web applications. Unlike most frameworks, Svelte is …
