Peter Stuifzand

Hugo and Tailwind

This current website is built with Hugo. I wanted to try to build my own theme with Tailwind. With Hugo it is not very easy to use Tailwind. The biggest problem I found was that Hugo does not reload CSS with livereload.

Even now these styles are not reloaded when I write this note. The simplest method to build a template with Tailwind styling is a CDN.

Other methods include Hugo Pipes. This works for deployment, but not for development.

© 2023 Peter Stuifzand