This is a demo Flask application that integrates Flowbite for UI components. The application is designed to demonstrate how to set up a basic Flask app with Flowbite styling.
- Node.js and npm (for Flowbite and Tailwind CSS)
- uv An extremely fast Python package and project manager, written in Rust. (Recommended)
- Python 3.12 or higher (Note: If using uv, it will automatically install Python 3.12 if not present on your system)
git clone https://github.com/naylin-dev/flask-flowbite.git
cd flask-flowbiteUsing uv
uv venv --python 3.12
# On macOS/Linux
source .venv/bin/activate
# On Windows
.venv\Scripts\activateUsing venv
python3 -m venv venv
# On macOS/Linux
source venv/bin/activate
# On Windows
venv\Scripts\activateUsing uv
uv syncUsing pip
pip install -r requirements.txtcd static
npm installBuild CSS with Tailwind
npm run build:css# Make sure you're in the project root directory
python app.pyThe application will be available at http://127.0.0.1:5000.
flask-flowbite/
├── app.py # Flask application entry point
├── pyproject.toml # Python project configuration
├── requirements.txt # Python dependencies
├── static/ # Static files directory
│ ├── dist/ # Compiled assets
│ ├── src/ # Source files
│ ├── package.json # Node.js dependencies
│ └── tailwind.config.js # Tailwind CSS configuration
└── templates/ # HTML templates- Flask - 3.0.3
- Flowbite - 2.5.1
- Tailwind CSS - 3.4.8
