Documentation
¶
Overview ¶
Command hello is a minimal burrow application that serves a single "Hello, World!" page with µCSS styling and i18n support.
This example demonstrates the core concepts of a burrow app:
- Creating a server with contrib apps (staticfiles, htmx, mucss)
- Defining a custom app that provides routes, templates, and translations
- Using the µCSS layout for page rendering
- Configuring the CLI with urfave/cli for flags like --host, --port, etc.
Translations are provided via burrow's built-in `t` template function; no separate i18n contrib registration is needed for this minimal case.
Run it with:
go run ./example/hello
Then open http://localhost:8080 in your browser.
Click to show internal directories.
Click to hide internal directories.