Skip to content
1️⃣1️⃣ An opinionated boilerplate for new projects built with Eleventy.
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_data
_eleventy
_includes
posts
.eleventyignore
.gitignore
README.md
index.njk
package.json

README.md

eleventy-boilerplate

An opinionated boilerplate for new projects built with Eleventy.

What's included

  • This project uses Eleventy as a static site generator.
  • Templating uses Nunjucks.
  • Styles are written in vanilla CSS and inlined for performance. (Note: it is your responsibility to autoprefix the CSS as needed).
    • The main CSS file can be found at _includes/app.css.
  • Javascript is minified and inlined for performance. (Note: write browser compatible JS).
    • The main JS file can be found at _includes/app.js.

Installation

$ git clone git@github.com:alexcarpenter/eleventy-boilerplate.git
$ cd eleventy-boilerplate
$ npm install

Commands

Command Description
npm start Start a development server and watch for updates
npm run build Build templates, data, CSS, and JS for production envrioment

License

MIT

You can’t perform that action at this time.