Minimal Eleventy boilerplate that comes with a few things attached:
- Vite via the Slinkity plugin for fast HMR-enabled dev experience and optimized bundling of files in production.
- Tailwind for simple utility-first CSS authoring.
- Prettier for automated code formatting (configured to support .njk files in VS Code by associating them with .html files).
Optional features can be found in repository branches:
- Typescript to add static typing for type safety and type references
- Image Plugin for build-time image optimizations
npm i
npm run dev
The development site will run on localhost:8080 by default.
npm run build
The production build will appear in the _site
folder by default, ready to be hosted in any static-site host.
npm run preview
If you want to preview the build output, this will build the site and then serve it immediately on localhost:8080 by default.
This project is MIT licensed.