Run the dev server:
npm run dev
To run Wrangler:
npm run build
npm run start
Generate types for your Cloudflare bindings in wrangler.toml:
npm run typegen
You will need to rerun typegen whenever you make changes to wrangler.toml.
[!WARNING]
Cloudflare does not usewrangler.tomlto configure deployment bindings.
You MUST configure deployment bindings manually in the Cloudflare dashboard.
First, build your app for production:
npm run build
Then, deploy your app to Cloudflare Pages:
npm run deploy
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.