This project is a starting point for developing web apps using a-h/templ.
go install github.com/a-h/templ/cmd/templ@latest
)Clone the repo:
git clone https://github.com/morethancoder/goat.git
Initialize the project:
go mod init yourprojectname && go mod tidy
Change the import in main.go:
// Change this:
"morethancoder/goat/components"
// To:
"yourprojectname/components"
Install required Node modules:
bun install
Start the Vite dev server:
make vite
Start file watching & compiling:
make watch
Star the repo!