A cookiecutter template for quickly creating Flask projects with TailwindCSS. Using Blueprints and an Application Factory pattern, this template allows quick building of Flask apps with minimal configuration and no extensions outside of what is necessary, or applicable, to all projects.
- Flask-Assets
- Flask-Testing
- Flask-DebugToolbar
- Flask-Admin
- Self-installing using either Pip or Poetry, whichever you choose
- Self-installing node dependencies
- Install Cookiecutter globally:
pip install cookiecutter
- Generate the template
cookiecutter https://github.com/cording12/flask-tailwind-template-cookiecutter.git
- Run Tailwind in a terminal with
npm run dev
- Run the Flask app
This cookiecutter template installs all modules using either Poetry or Pip (as selected in the installation config). If necessary, refer to the README.md of the template package
- Add Tailwind JIT compiling
- convert {{ cookiecutter.project_slug }} to git submodule. Current Cookiecutter issue #1469
- Configure a Docker version
- Add license config
- New default homepage once installed