Skip the bullshit
// docs / Start

Quick start

From zero to a canvas-rendered counter in four commands.

sh
vcwl new hello
cd hello
vcwl dev # http://127.0.0.1:4400, rebuilds and reloads on save
vcwl build # a static site in dist/

vcwl new writes a vcwl.toml and src/main.vcwl. The entry file declares the app and a root component called App:

vcwl
app "Hello"
component App {
state count: Int = 0
column(gap: 12px, align: center) {
heading("Clicks: {count}", level: 1)
button("+1") {
on click {
count += 1
}
}
}
}

dist/ is plain static files: index.html, app.wasm, render.wasm and a small JavaScript host. Any static host works, including GitHub Pages.