Skip to content
Source
Sign inSign up
TanStack/cli
Open History to see the last commit

README.md

11 lines562 Bytes

Deploy to Cloudflare Workers

This project uses the Cloudflare Vite plugin (configured in vite.config.ts) and wrangler.jsonc:

  1. Install Wrangler: npm install -g wrangler
  2. Authenticate: wrangler login
  3. Deploy: npx wrangler deploy

For production env vars, run wrangler secret put MY_VAR for each secret listed in .env.example. Public (non-secret) vars go in wrangler.jsonc under vars.

KV, D1, R2, and Durable Object bindings are configured in wrangler.jsonc — see https://developers.cloudflare.com/workers/wrangler/configuration/.