A very simple starter set up with TailwindCSS and its typography plugin and a build setup using PostCSS and PurgeCSS (when running the production build).
In the preview deployment on Netlify it currently has a 100 on both mobile and desktop on Google PageSpeed and nearly a perfect score on LightHouse, as well.
This setup can be used both as a starter project and a theme.
Heavily inspired by bep/hugo-starter-tailwind-basic Tailwind 2 template.
Sample content from:
npm install
npm start
Import github.com/BenjaminPrice/hugo-tailwind3-starter
into your project, and then run:
hugo mod npm pack
npm install