Orientation for contributors to this Svelte 5 + Vite Hello World example for Webflow Cloud. Keep this file current when structure or workflows change.
A minimal, branded Hello, world page built with Svelte 5 + Vite (using runes) and deployed on Cloudflare Workers via Webflow Cloud. This is the vanilla variant (no bindings — UI only).
The page shows a Webflow brand hero, gradient logo, and curated doc cards pointing at the Webflow Cloud documentation.
- Framework: Svelte 5 on Vite 6 (
$props,$state,$derivedrunes) - Styling: Tailwind v3 +
wf-*brand tokens (seesrc/app.css) - Deploy target: Cloudflare Workers via Webflow Cloud (static assets)
index.html
src/
App.svelte ← page content, hero, DOC_LINKS
main.ts ← Svelte mount
app.css ← Tailwind + .wf-* design tokens
lib/
WebflowLogo.svelte
DocCard.svelte
vite.config.ts
svelte.config.js
tailwind.config.js
tsconfig.json
package.json
npm install
npm run devnpm run buildBuild output lands in dist/. Run npm run check for svelte-check.
- Page content (hero, CTAs, doc cards):
src/App.svelte - Doc card list: search for
DOC_LINKSinsrc/App.svelte - Brand tokens and
.wf-*styles:src/app.css <head>(title, favicon, theme-color):index.html
- Push this repo to GitHub.
- In your Webflow Cloud project, connect the repo and pick a mount path
(e.g.
/my-app). The app runs under any prefix. - Webflow Cloud builds with
npm run buildon deploy.
See Deployments and Environments.
- Keep the Webflow brand tone: blue gradient (
#4353FF→#146EF5), dark background, minimal copy. Reuse the existing.wf-*CSS tokens. - This is a Hello World. Do not add extra pages, client-state libraries, or UI kits. Small and readable beats clever.
- Run
npm run buildbefore opening a PR. - Keep cross-app parity: if you change shared copy or doc links, update
the sibling
hello-world-*-app[-bindings]apps too.