Skip to content

Starter project for Go and HTMX. Supports hot-reload and module-bundling.

License

Notifications You must be signed in to change notification settings

utekaravinash/go_htmx_air_parcel_starter_project

Repository files navigation

Go and htmx starter project with hot-reloader and module-bundler

This is a starter project for Go and htmx. It supports hot-reloading for Go, HTML, CSS and Javascript files. It also bundles js files.

Installation

This project makes use of ParcelJS and Air for hot-reload and module-bundles. Please install them as per the instructions given on their page.

Clone this repo on your local machine.

Run "yarn install" to install dependencies.

Run "yarn watch" to watch changes in JS and CSS files.

Run "air" command in a separate terminal to watch changes in Go files.

Now, website should be running live at "http://localhost:3000".

About

Starter project for Go and HTMX. Supports hot-reload and module-bundling.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published