/fastapi-htmx-tailwind-template

Simple template for using fastapi with htmx + tailwind. Uses the fasthx package.

Primary LanguageJinja

FastAPI + htmx + tailwindcss + fasthx

tailwindcss

  1. Download binary from github
  2. Rename binary to tailwind
  3. Change permissions to executable
chmod +x tailwind
  1. Start the build process
./tailwind -i ./htmx/static/css/input.css -o ./htmx/static/css/output.css --watch

More info at tailwindcss docs.