Quickly bootstrap 11ty sites from some basic templates.
The list of templates will slowly grow. Currently available via 11up:
- https://github.com/philhawksworth/11ty-scaffold-with-sass
- https://github.com/philhawksworth/11ty-with-serverless
- https://github.com/11ty/eleventy-base-blog
- https://github.com/5t3ph/11ty-netlify-jumpstart
- Node and npm - For running the command and using 11ty
- Netlify CLI - For dev utilities like serverless functions on Netlify.
No need to install this package, you can create a new site structure by using npx
.
npx 11up
- Choose one of the starter templates (it's a short list for now)
- Create your new site in the current directory or create a new subdirectory
- That's it
To discover more about the available templates you can see a listing of them along with links to their GitHub repositories via the list argument.
npx 11up list
To ensure you always use the latest templates, you can ask npm for the latest release as you execute npx
like this:
npx 11up@latest