matthiasott / eleventy-plus-vite

A clean and fast Eleventy Starter Project with Vite
https://eleventyplusvite.netlify.app
MIT License
197 stars 32 forks source link
11ty 11ty-template eleventy eleventy-starter jamstack vite vitejs

Eleventy Plus Vite
🏃💨

A clean and fast Eleventy Starter Project with Vite.

Netlify Status

Features

Getting started

Start by generating a new repository based on this project.

After cloning (or downloading) the repository to your local machine, install all dependencies with the command

npm install

Run dev server

The project comes with Eleventy’s built-in development server. You can start the server with

npm start

or

npx @11ty/eleventy --serve

Build

To trigger a production build, use

npm run build

or

npx @11ty/eleventy

Deploy a fork of this template to Netlify

Deploy to Netlify

CSS

By default, this starter project uses Sass with an opinionated folder structure. Feel free to replace this structure with your own. If you prefer to write standards-compliant, good old plain CSS, this is also supported. Nesting is then possible via the PostCSS Nesting plugin, following the CSS Nesting specification.

Autoprefixer adds necessary browser prefixes. The browserslist settings can be adjusted in package.json.

Roadmap

Feedback

Please provide feedback! 🤗 Ideally by filing an issue here – or via a pull request.

Thank you!

This starter project would not have been possible without the many great sites and projects I was able to learn from, use as inspiration, and shamelessly copy code from: