Hugo and VuePress are both open source static site generators. Hugo is written in Go and VuePress is written in JavaScript.
Property | Hugo | VuePress |
---|---|---|
Language | Go | JavaScript |
Templates | Go | Vue |
License | Apache-2.0 | MIT |
Hugo is a static site generator written in Go. It is optimized for speed, easy use and configurability. Hugo takes a directory with content and templates and renders them into a full html website.
Hugo makes use of Markdown files with front matter for meta data.
A typical website of moderate size can be rendered in a fraction of a second. A good rule of thumb is that Hugo takes around 1 millisecond for each piece of content.
It is written to work well with any kind of website including blogs, tumbles and docs.
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