flask-htmx-tailwind
flask-htmx-tailwind copied to clipboard
Flask + htmx + Tailwind CSS
trafficstars
Rapid Prototyping with Flask, htmx, and Tailwind CSS
Want to learn how to build this?
Check out the post.
Want to use this project?
-
Fork/Clone
-
Create and activate a virtual environment:
$ python3 -m venv venv && source venv/bin/activate -
Install the Python dependencies:
(venv)$ pip install -r requirements.txt -
Configure Tailwind CSS:
(venv)$ tailwindcss -
Scan the templates and generate CSS file:
(venv)$ tailwindcss -i ./static/src/main.css -o ./static/dist/main.css --minify -
Run the app:
(venv)$ python app.py -
Test at http://localhost:5000/