Skip to content

Basic project template for the GOTTH (Go, Tailwind CSS, Templ, HTMX) stack

Notifications You must be signed in to change notification settings

NNNiv/htmx-go-project-template

Repository files navigation

htmx-go-project-template

A basic GOTTH (Go, Tailwind CSS, Templ, HTMX) stack project template.

Instructions

Install air for live recompilation.

go install github.com/cosmtrek/air@latest

Install templ.

go install github.com/a-h/templ/cmd/templ@latest

cd into the project directory and install tailwind.

cd htmx-go-project-template
npm install -D tailwindcss

Run the app using air.

air

Navigate to http://localhost:3000 to view the app.

Edit ./internal/templates/index.templ and reload the browser to view the changes.

About

Basic project template for the GOTTH (Go, Tailwind CSS, Templ, HTMX) stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published