Skip to content

Latest commit

 

History

History
92 lines (60 loc) · 3.51 KB

README.md

File metadata and controls

92 lines (60 loc) · 3.51 KB

v60 - Eleventy Vite Starter

Netlify Status

A clean and fast Eleventy Starter Project with Vite.

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

pnpm install

Up and running

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

pnpm dev

To trigger a production build, use

pnpm build

Deploy your own

You'll want to fork this repository and deploy your own Next.js website. Once you have an image generator that sparks joy, you can setup automatic GitHub deployments so that pushing to master will deploy to production! 🚀

Deploy to Vercel Deploy to Netlify

Cloudflare Deployment

You need to add NODE_VERSION with value 18.17.1 or 20.9.0 on the environment variables setting. Visit Cloudflare pages docs for more information.

Example environment variables for the preview branch:

PUBLIC_SITE_URL=${CF_PAGES_URL}
ELEVENTY_PRODUCTION=true

CSS

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

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:

License

This project is open-sourced software licensed under the MIT license.

Copyrights in this project are retained by their contributors. See the license file for more information.


🤫 Psst! If you like my work you can support me via GitHub sponsors.