In this post, I’ll share my experience setting up a new personal website using Hugo static site generator combined with Daisy UI component library.
Why Hugo?
Hugo is an excellent choice for personal blogs and portfolios because:
- Lightning fast build times
- Zero JavaScript required for basic functionality
- Rich templating system
- Great documentation and community support
Adding Daisy UI
Daisy UI brings the power of Tailwind CSS with pre-built components:
npm install -D daisyui@latestThen configure your tailwind.config.js:
module.exports = {
content: ['./layouts/**/*.{html,htm}'],
theme: {
extend: {},
},
plugins: [require('daisyui')],
};Sample Components
Here are some Daisy UI components I’m using:
Alert Component
Card Component
Sample Card
Cards are great for displaying related information together.
Conclusion
Combining Hugo with Daisy UI gives you the best of both worlds - fast static sites with modern, responsive components. I’m excited to continue building out this site!
Tags: Hugo, Daisy UI, Web Development