Getting Started with Hugo and Tailwind
·
1 min read
Table of Contents
Prerequisites
Quick Start
Clone the repo and install dependencies:
git clone https://github.com/YOUR_USERNAME/hugo-tailwind-starter.git
cd hugo-tailwind-starter
npm install
hugo server
Open http://localhost:1313 in your browser.
Project Structure
The most important files:
hugo.toml— Site configurationassets/css/main.css— Tailwind CSS entry pointlayouts/— All page templates
Dark Mode
The starter supports dark mode out of the box. It detects your system preference and allows manual toggle via the button in the header.