A Svelte 5 + Vite starter for Webflow Cloud with Cloudflare bindings (D1, R2, KV) wired in.
At deploy time, Webflow Cloud provisions the configured services and injects them into your app as typed bindings — no API keys, no connection strings.
Looking for the plain vanilla variant (no bindings)? See
hello-world-svelte-app.
worker/index.ts — Cloudflare Worker serving the SPA and a /api/binding-status endpointwrangler.json with D1, R2, KV · Sessions, KV · Flagsnpm install
# Run locally (Vite only, no bindings)
npm run dev
# Build + preview against real bindings (wrangler)
npm run preview
wrangler.json and provisions D1, R2, and KV automatically.| Binding | Type | Declared in |
|---|---|---|
DB |
D1 | wrangler.json |
MEDIA |
R2 | wrangler.json |
SESSIONS |
KV | wrangler.json |
FLAGS |
KV | wrangler.json |
Built with Svelte 5 + Vite · Deployed on Webflow Cloud.