Orientation for contributors to this Vite Vanilla JS Hello World example for Webflow Cloud. Keep this file current when structure or workflows change.
A minimal, branded Hello, world page built with Vite + Vanilla JS (no framework runtime) 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 — all rendered with plain
template literals injected into #app.
- Framework: None — Vite + Vanilla JS
- Styling: Tailwind v3 +
wf-*brand tokens (seesrc/style.css) - Deploy target: Cloudflare Workers via Webflow Cloud (static assets)
index.html
src/
main.js ← page content, DOC_LINKS, render()
style.css ← Tailwind + .wf-* design tokens
vite.config.js
tailwind.config.js
package.json
npm install
npm run devnpm run buildBuild output lands in dist/.
Everything lives in one file. Keep it that way — the whole point of the vanilla-JS variant is that a contributor can read it top-to-bottom in a minute.
- Page content + template-literal HTML:
src/main.js - Doc card list: search for
DOC_LINKSinsrc/main.js - Brand tokens and
.wf-*styles:src/style.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, state libraries, or UI kits. The vanilla-JS variant should stay tiny.
- 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.