Go front end development with Gorilla, Htmx, tailwinds and Air.
Add it to $PATH
sudo mv tailwindscss /usr/local/bin/
install Air
go install github.com/cosmtrek/air@latest
add to .zshrc or .bashrc and source export PATH=$PATH:$(go env GOPATH)/bin
Clone this repo and cd into it
Run the code with air and watch and build css with tailwinds cli
air && tailwindcss -m -i static/css/main.css -o static/css/output.min.css --watch
server is on localhost:8080
refresh page to see changes.