- Download binary from github
- Rename binary to tailwind
- Change permissions to executable
chmod +x tailwind
- Start the build process
./tailwind -i ./htmx/static/css/input.css -o ./htmx/static/css/output.css --watch
More info at tailwindcss docs.
Simple template for using fastapi with htmx + tailwind. Uses the fasthx package.
Jinja
chmod +x tailwind
./tailwind -i ./htmx/static/css/input.css -o ./htmx/static/css/output.css --watch
More info at tailwindcss docs.