demo.mp4
Generate types for your Cloudflare bindings in wrangler.toml:
pnpm run typegenYou will need to rerun typegen whenever you make changes to wrangler.toml.
Run the Vite dev server:
pnpm run devTo run Wrangler:
pnpm run build
pnpm run startWarning
Cloudflare does not use wrangler.toml to configure deployment bindings.
You MUST configure deployment bindings manually in the Cloudflare dashboard.
First, build your app for production:
pnpm run buildThen, deploy your app to Cloudflare Pages:
pnpm run deploy