Skip to content

Conversation

penalosa
Copy link
Contributor

Summary

Add documentation describing how you can use environments with remote bindnigs, replacing the preview_ docs (which are still correct but not recommended)

Screenshots (optional)

Documentation checklist

  • Is there a changelog entry (guidelines)? If you don't add one for something awesome and new (however small) — how will our customers find out? Changelogs are automatically posted to RSS feeds, the Discord, and X.
  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

Copy link
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/workers/ @cloudflare/workers-docs, @GregBrimble, @irvinebroque, @mikenomitch, @korinne, @WalshyDev, @cloudflare/deploy-config, @cloudflare/pcx-technical-writing, @kodster28, @cloudflare/wrangler, @cloudflare/workers-runtime-1

</WranglerConfig>

Running `wrangler dev` with the above configuration means that:
Running `wrangler dev -e staging` with the above configuration means that:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add how to use with Vite plugin as well? I believe it's CLOUDFLARE_ENV=staging vite dev

@penalosa penalosa merged commit 3b4fc20 into production Sep 19, 2025
8 checks passed
@penalosa penalosa deleted the penalosa/remote-bindings-envs branch September 19, 2025 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product:workers Related to Workers product size/s
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants