After failing with many Hugo+Tailwind tries I finally found a working one that cleans and minimizes the CSS - and I added Tailwind JIT and @tailwind/typography.
The above repo worked for me, but had some issues. Sometimes you had to re-start to make a class work, and some classes (like the code on dark background on md pages) I had to add manually into the final css. With Tailwind 3.0 this repo is obsolete, here is a new one with Tailwind 3.0 (also with typogrphy pre-installed, otherwise very barebone) >>