This project is a port of the Themesberg tailwind-dashboard-windster project to reactpy.
poetry install --no-root
python app_main.py
python run_dashboard.py
python usage.py runserver --port 8000
uvicorn fast_app:app --port 8000
playwright install
pytest
pytest --headed
During development tailwindcss play is used. Tailwind play generates CSS rules on the fly. They are accumulated, as pages are visited, into a custom style tag. This process a fast and seamless.
You can, if neccecery, create a static CSS file containing all the accumulated rules. To do this you need to copy the content of the tailwind play style tag from a live browser session and dump it to file.
Chrome debug tools are used to dump the style tag to the file:
./static/css/tailwind-3.3.5.css