Run the dev server:
npm run devTo run Wrangler:
npm run build
npm run startGenerate types for your Cloudflare bindings in wrangler.toml:
npm run typegenYou will need to rerun typegen whenever you make changes to wrangler.toml.
Warning
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:
npm run buildThen, deploy your app to Cloudflare Pages:
npm run deployThis template comes with Tailwind CSS already configured for a simple default starting experience. You can use whatever css framework you prefer. See the Vite docs on css for more information.