Vite and VuePress are both open source static site generators. Vite is written in Python and VuePress is written in JavaScript.
| Property | Vite | VuePress |
|---|---|---|
| Language | Python | JavaScript |
| Templates | Jinja2 | Vue |
| License | MIT | MIT |
A simple and minimal static site generator that just works™.
Sometimes, less is more
pip install vite
vite new [path]
vite build
vite serve
That's it, no nonsense.
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