Dependencies are git repositories pinned in wo.toml; wo.lock records the exact revision, and locked builds work offline. The [deps] KEY names the module you use. This site has two: the web framework, and the writeonce-view library that rendered the page you are reading.
[deps]
serve = { git = "https://github.com/shoneyj/writeonce-serve", rev = "v0.1.0" }
view = { git = "https://github.com/shoneyj/writeonce-view", rev = "v0.1.0" }use serve
use serve/http
use view
-- html's builders + tailwind-style utilities, zero JS, no build step:
let body = el("h1", "text-3xl font-bold", "Hello");
return ok_html(page("Hello", body));