Getting Started with Eleventy
Getting Started with Eleventy
Eleventy is a simpler static site generator that's flexible and powerful. In this post, we'll explore why Eleventy is a great choice for your next project.
Why Eleventy?
- Simple - No complex configuration required
- Flexible - Use any template language
- Fast - Builds are lightning quick
- Zero Config - Works out of the box
Installation
Getting started is easy:
npm install @11ty/eleventyYour First Template
Create an
index.njkfile:--- title: Home Page ---Getting Started with Eleventy
Welcome to my site!
Running Eleventy
Start the development server:
npx eleventy --serveThat's it! Your site is now running at
localhost:8080.