This is a ready-to-run quickstart project for templUI.
git clone https://github.com/templui/templui-quickstart.git myapp
rm -rf myapp/.git
cd myapp
cp .env.example .env
go mod tidy
task devOpen http://localhost:7331 for templ live preview or http://localhost:8090 for the app.
If you want your own module path later, run:
go mod edit -module your/module/pathdocker build -t templui-quickstart .
docker run --rm -p 8088:8090 templui-quickstartThen open http://localhost:8088.