Skip to content
An opinionated but minimal boilerplate for new projects built with Eleventy.
CSS JavaScript Other
Branch: master
Clone or download
Latest commit 3dbac94 Aug 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Fix build Jul 2, 2019
src Audit Jul 2, 2019
.babelrc Upgrade tailwinds CSS Jun 10, 2019
.eleventy.js Upgrade tailwinds CSS Jun 10, 2019
.gitignore Don’t commit dist Feb 14, 2019
README.md Update README Jul 2, 2019
package-lock.json Audit Aug 6, 2019
package.json Audit Aug 6, 2019
postcss.config.js Remove gulp Jun 4, 2019
purgecss.config.js Fix build Jul 2, 2019
webpack.config.js Upgrade tailwinds CSS Jun 10, 2019

README.md

Web Starter

An opinionated but minimal boilerplate for new projects built with Eleventy.

Features

  • This project uses Eleventy as a static site generator
  • Default templating is Liquid (can be changed if you want)
  • PostCSS set up to handle:
    • TailwindCSS
    • Autoprefixer
  • PurgeCSS to remove unused CSS (Set up for TailwindCSS by default) in production
  • HTML minified in production
  • CSS inlined and minified in production
  • Webpack used to bundle scripts
  • Scripts optimised for production
  • A good handful of SEO meta tags set up

Usage

Install dependencies

npm install

Start development server

Starts watch tasks to compile when changes detected

npm start

Create a production build

Minify HTML, compress JS, inline and minify CSS.

npm run build
You can’t perform that action at this time.