eleventy-boilerplate
eleventy-boilerplate copied to clipboard
1️⃣1️⃣ An opinionated boilerplate for new projects built with Eleventy.
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.
- Reusable components are built using shortcodes.
- 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
.
- The main CSS file can be found at
- Javascript is minified and inlined for performance. (Note: write browser compatible JS).
- The main JS file can be found at
_includes/app.js
.
- The main JS file can be found at
Installation
$ git clone [email protected]: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