go-templ-tailwind-htmx-project-template Tailwind Templates

Go Templ Tailwind Htmx Project Template

The GoTTH Stack Starter Template

The go-templ-tailwind-htmx-project-template (GoTTH) starter

Allows you quickly setup all the required (boilerplate) files, folders and packages for starting your GoTTH stack project.

The GoTTH stack is basically an awesome web-stack without (much) javascript:

  • Go - Backend
  • Tailwind - CSS
  • Templ - Templating
  • HTMX - Interactivity

[!NOTE]
Out of the box this repository contains also alpine.js. All the CSS, and javascripts files are hosted locally, so it does not require an external connection.

How to use?

You can clone this project by simply running:

git clone [email protected]:thecyberproject/go-templ-tailwind-htmx-project-template.git
cd go-templ-tailwind-htmx-project-template
rm -r .github
echo "You are good to go"

when developing you can use the following commands:

make dev

Altough the features of the GoTTH stack are amazing, they are not perfect yet. So you needs to run in a seperate Window the command below to ensure changes are also picked up by Tailwind.

make dev-tailwind

Requirements

Install the following:

Versions

Top categories

Loading Svelte Themes