Skip to content

morethancoder/goat

Repository files navigation

GOAT

Banner

This project is a starting point for developing web apps using a-h/templ.

Tech Stack

Dependencies

  • Alpine.js (as a file under /public/static/js/alpine.min.js)
  • Bun (or Yarn or pnpm) used to install/run Vite and Tailwind CSS
  • Go
  • Templ CLI (install using go install github.com/a-h/templ/cmd/templ@latest)
  • Make
  • entr

Usage

  1. Clone the repo:

    git clone https://github.com/morethancoder/goat.git
    
  2. Initialize the project:

    go mod init yourprojectname && go mod tidy
    
  3. Change the import in main.go:

    // Change this:
    "morethancoder/goat/components"
    // To:
    "yourprojectname/components"
  4. Install required Node modules:

    bun install
    
  5. Start the Vite dev server:

    make vite
    
  6. Start file watching & compiling:

    make watch
    
  7. Star the repo!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published