Development and deployment on Cloudflare (Pages)

I thought creating a Cloudflare thread could be helpful to myself and others in the future.

I currently use https://github.com/nekochan0122/tanstack-start-with-cf-pages-env-vars in order to have a successful Cloudflare deployment with variables.
This works for variable bindings both in dev and when deployed, but other bindings, such as D1, do not work in dev (using vinxi dev)

Looking for an easier, more native solution. Has anyone had luck with the following?: https://nitro.build/deploy/providers/cloudflare#direct-access-to-cloudflare-bindings
GitHub
Contribute to nekochan0122/tanstack-start-with-cf-pages-env-vars development by creating an account on GitHub.
Deploy Nitro apps to Cloudflare.
Was this page helpful?