Hey HUGO community!
I’m one of the contributors to the Flowbite UI library. Just wanted to share the fact that after getting some requests from our community, we have now finally finished and uploaded the online HUGO + Tailwind guide on the Flowbite Docs.
We have also built a theme for basic taxonomies like posts and tags and will soon submit that to the official list of themes on HUGO. Fun fact: our own docs uses HUGO too since the beginning.
Let me know if the guide has missed anything important, thanks!
Good article for getting up and running.
I’d only suggest that, while your method will work if you aren’t doing any heavy theme editing, you might want to use Hugo’s native Tailwind support from v0.128.0:
Otherwise you’re missing the benefits of hugo_stats.json and CSS purge.
It’s nice to see the built-in ability of Hugo. What benefits does that method bring?
It’s very easy to start copy-pasting components from Flowbite and building layouts and websites, leveraged with Tailwind CSS, especially as you only require vanilla JS to get things going which is nicely compatible with how HUGO works.
Thanks, I’ll have a look at this and upgrade the guide, my only concern is that perhaps that’s only available for Tailwind v3 - mind that my guide also purges the CSS classes by default using the Tailwind engine. Although you’re right in saying that it’s not the default HUGO recommended way.