I veer away from CSS frameworks like Bootstrap because they result in sterilized designs. On a recent side project, I gave Tailwindcss a try and am no

Adding Tailwind CSS to a Hugo blog

submited by
Style Pass
2024-07-06 04:30:03

I veer away from CSS frameworks like Bootstrap because they result in sterilized designs. On a recent side project, I gave Tailwindcss a try and am now a believer. It strikes the perfect balance of design flexibility and rapid iteration.

Case in point: I rebuilt my Hugo theme, Henry, with Tailwind in three days1. I quite like how itโ€™s turned out. Let me show you how to add it to a Hugo theme.

I like to keep things as simple as possible. So, it was important for me to use both Hugo & Tailwind as you would independently.

I prefer this approach over the traditional unix jobs, bg & fg command foo because I can start everything in a single command. Additionally, I get color coded logs from each service simultaneously.

For my own website, I have a ./bin/dev shell script 3 that checks if I have foreman and other tools installed and spins everything up in one shot.

Leave a Comment