Skip to content

Skeleton project using HTMX, Tailwind CSS, and Vite with extensions for JSON APIs and Handlebars templates.

Notifications You must be signed in to change notification settings

guyroyse/htmx-tailwind-vite

Repository files navigation

HTMX + Tailwind + Vite

Just a quick repo to get started on projects with the aforementioned tools. I've also included json-enc, client-side-templates, and Handlebars to work with JSON APIs. Remove these if you don't need them. If you prefer something other than Handlebars, install that instead. Both actions will require an update to app.js.

The json-enc and client-side-templates extensions are included in the repo. If you want or need a newer version, you'll have to download and replace them yourself. Although they are pretty simple so I doubt there'll be many changes to them.

To use it just enter the commands below and start coding:

npm install
npm run dev

Once you're happy, do a prod preview:

npm run preview

And then build it:

npm run build

And that's pretty much it. Enjoy!

About

Skeleton project using HTMX, Tailwind CSS, and Vite with extensions for JSON APIs and Handlebars templates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published