DOM library for Gleam
gleam add domu
import domu/document
import domu/node
pub fn main() {
let doc = document.document()
let body = doc |> document.body
let el = doc |> document.create_element("p")
el |> node.set_text_content("Hello, world!")
body |> node.append_child(el)
}
task build # or `task build --watch` to watch for changes and rebuild
task test
task docs
task clean