A Basic starting page template based on go + templ + datastar + tailwind. compiles to a single binary
- templ 51.5%
- Go 41.1%
- Dockerfile 6.6%
- CSS 0.8%
| .task/checksum | ||
| static/css | ||
| views | ||
| .env | ||
| .gitignore | ||
| db.go | ||
| docker-compose.yml | ||
| Dockerfile | ||
| email.go | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| README.md | ||
| Taskfile.yml | ||
Clone this starter repo.
go mody tidy
go tool task build
# for local dev + livereload
go tool task dev
Edit views/home.templ.
Refresh browser (or use the proxy auto-refresh).