This is the LeapKit template for building web applications with Go, HTMX and Tailwind CSS. It integrates useful features such as hot code reload and css recompiling.
Use this template by using gonew:
go run rsc.io/tmp/gonew@latest github.com/leapkit/leapkit/[email protected] superapp
Install dependencies:
go mod download
go run ./cmd/setup
# Building TailwindCSS with tailo
> go run github.com/paganotoni/tailo/cmd/build@a4899cd
# Building the app
> go build -tags osusergo,netgo -buildvcs=false -o bin/app ./cmd/app
To run the application in development mode execute:
go run ./cmd/dev
And open http://localhost:3000
in your browser.
go run github.com/leapkit/leapkit/core/cmd/generate@latest migration