Skip to content

4044ever/Hugo-Tailwind-4.x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hugo & Tailwind 4.* (now 4.1.11)

A barebone Hugo & Tailwind CSS starter kit

Install to VS Code with:
git clone https://github.com/4044ever/Hugo-Tailwind-4.x optinal-foldername
npm install

To start developing:
hugo server

To generate the site HTML:
hugo

To get out of server mode you need to do Ctrl+c

Disclaimer: This is my personal try with Hugo and Tailwind 4.0.* To me it looks like all functions work, classes get updated, a correct /public/ folder with purged, minified style*.css gets created. Seems production ready, you can build a theme around it. Leave a comment if you see errors or improvements.

Hugo Note: Tested up to/with Hugo 0.148.1 extended. So far all new Hugo version worked for me.

So what changed?

  • I finally updated to the latest TailwindCSS 4.1.11
  • Note that the one content running at localhost:1313/new *.md is minimal and ugly. But it shows md and TailwindCSS rendering

About

A barebone Hugo starter with Tailwind 4.0.* - Build your own theme on top.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published