Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A starter kit for building static sites quickly, easily, and efficiently.
Pears is an open-source Hugo static site starter kit that bundles Tailwind CSS, PostCSS, and code-quality tools so you can build and deploy static websites without configuring the toolchain yourself.
Pears is a starter kit for building static sites, created by developer bradp and distributed under the MIT License. It takes a fresh Hugo project and pre-configures Tailwind CSS, PostCSS, autoprefixer, PurgeCSS, Prettier, stylelint, and ESLint, producing a local development server and production-ready static builds through npm scripts. The project is in an early state of development, with a live demo available at pears.cloud.
:fix appended to auto-correct.npm start builds files and starts the dev server, npm build prepares a local/staging build, and npm build:prod creates a production-ready build.git clone and npm i; the stated goal is that people unfamiliar with Hugo shouldn't need to learn more than the basics.npm start, and inspect the preconfigured build and lint commands to see how Hugo and Tailwind glue together.Pears is set up by cloning the repository and running npm i to install dependencies. After that, npm start builds all files and starts the local development server; npm run lists the full set of commands available. Building, linting, and formatting are all npm scripts, and the project recommends checking available commands frequently during early development.
Yes. Pears is open source and distributed under the MIT License, so you can use, modify, and redistribute it freely for personal or commercial projects.
Yes. Hugo must be installed separately; the README links to Hugo's installation guide and notes that pre-built binaries are available for almost every platform. Yarn and Hugo are required before installing Pears with npm i.
The project is in an early state of development, and the README warns that things may break and change. It's best treated as a learning tool or a starting point rather than a battle-tested production template.
Pears includes Hugo, Tailwind CSS with the Forms and Typography plugins, PostCSS, autoprefixer, PurgeCSS, Prettier, stylelint, and ESLint. These are preconfigured so you can start coding immediately after installation.
Key commands are npm start for the dev server, npm build for local/staging builds, npm build:prod for production builds, and npm lint and npm format for code quality. Append :fix to lint commands to auto-fix errors.