This serves as a template to flask projects using poetry, npm and tailwindcss with postcss preprocessor. Environment variables are read from .env file in root directory.
poetry installto install python dependencies; to use venv -poetry env list&poetry env use 3.9npm installto install js and Tailwind packagesnpm run devruns Tailwind watchdog to compile styles for html templates in real timenpm run build:prod(kill flask dev server beforehand) will prepare production-ready css
Remember to alter any names and paths after changing something.