Skip to content

Conversation

tvartom
Copy link

@tvartom tvartom commented Aug 25, 2025

This adds the possibility to activate remote bindings. (wrangler dev --x-remote-bindings).

I know this package is soon to be deprecated, with Nitro 2.12.
However I haven't found a way to activate --x-remote-bindings with nuxt.

This makes it easy,
just add

nitro: {
  cloudflareDev: {
    remoteBindings: true,
  }
}

to nuxt.config.ts.

@pi0
Copy link
Member

pi0 commented Aug 25, 2025

Thanks for PR. As this module is merged as a dev preset to latest Nitro, would you mind opening a new PR against Nitro v2?

https://github.com/nitrojs/nitro/blob/v2/src/presets/cloudflare/dev.ts

https://github.com/nitrojs/nitro/blob/v2/src/presets/cloudflare/runtime/plugin.dev.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants