Django Tailwind v2.0 is here, with JIT mode and Hot reloading

Hi good people,

Yesterday I released Django Tailwind v2.0. This is a major package update that combines our beloved Django with the Tailwind CSS framework and has been around since 2019, before most people had even heard of Tailwind.

The release includes two neat features. One from Tailwind is JIT mode and the other from me is hot reloading.

The JIT mode uses a brand new compiler that generates all your CSS on-demand as you author your template files instead of generating your entire stylesheet upfront.

The hot reloading feature gives you automatic page reloads and CSS updates as you author your templates, you no longer have to do manual page refreshes anymore!

Here’s how it works:

You can read the full announcement here: https://timonweb.com/django/django-tailwind-v20-is-out-it-brings-the-jit-mode-and-hot-reloading/

Find Git repo here: https://github.com/timonweb/django-tailwind

Grab it from PYPI here: https://pypi.org/project/django-tailwind/

I hope you enjoy it.

Any suggestions/questions are welcome. Ask me anything.

11 Likes