How to do binding using nextjs ?

I tried using --kv but nextjs won't recognize the process.env, it returns undefined. Also how can add remote binding KV on local nextjs ?
1 Reply
James
James7mo ago
For local development, you could use our experimental dev bindings - https://github.com/cloudflare/next-on-pages/issues/527 Or a proxy like cf-bindings-proxy