Run the dev server:
pnpm run dev
To run Wrangler:
pnpm run build
pnpm run start
Generate types for your Cloudflare bindings in wrangler.toml
:
bun typegen
You will need to rerun typegen whenever you make changes to wrangler.toml
.
First, build your app for production:
bun run build
Then, deploy your app to Cloudflare Pages:
bun run deploy
This 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.