Eleventy and VuePress are both open source static site generators written in JavaScript, but that's where the similarities end. See the full comparison of Eleventy and VuePress.
Property | Eleventy | VuePress |
---|---|---|
Language | JavaScript | JavaScript |
Templates | Liquid, Nunjucks, Handlebars, Mustache, EJS, Haml, Pug, JavaScript, HTML, Markdown | Vue |
License | MIT | MIT |
A simpler static site generator. An alternative to Jekyll. Written in JavaScript. Transforms a directory of templates (of varying types) into HTML.
Works with HTML, Markdown, Liquid, Nunjucks, Handlebars, Mustache, EJS, Haml, Pug, and JavaScript Template Literals.
Minimal setup with markdown-centered project structure helps you focus on writing.
Enjoy the dev experience of Vue + webpack, use Vue components in markdown, and develop custom themes with Vue.
VuePress generates pre-rendered static HTML for each page, and runs as an SPA once a page is loaded.
# install
npm install -g vuepress
# create a markdown file
echo "# Hello VuePress" > README.md
# start writing
vuepress dev
# build to static files
vuepress build