About VuePress
VuePress is an MIT-licensed static site generator from the Vue ecosystem. Pages are Markdown with optional Vue components, a default theme handles navigation, and plugins extend the build, which runs on Vite or Webpack through bundler packages such as @vuepress/bundler-vite.
Version 2 is still labeled a release candidate: ready for building sites, though config and API may change slightly between RC releases, so read the changelog before each upgrade. It needs Node.js 20.9 or newer. For a brand-new docs project, VitePress is the stable sibling.
A new project starts with npm init vuepress vuepress-starter; the dev server previews on port 8080, and the build writes static files to docs/.vuepress/dist.
What you get with VuePress
- Markdown pages with Vue components
- Default theme with navbar and sidebar
- Plugin and theme ecosystem
- Vite or Webpack bundler
- Static HTML output
VuePress use cases
- Keep an existing VuePress documentation site building
- Publish project docs straight from a Git repository
- Write a technical blog in Markdown with Vue widgets
After you deploy VuePress
- When the server is Running, SSH in and scaffold a site with
npm init vuepress vuepress-starter. - Run
npm run docs:devand preview athttp://<server IP>:8080, with that port open only to your own IP. - Build the site and serve
docs/.vuepress/distfrom a web server on your domain with HTTPS.
VuePress ports
Open these in your firewall if you use one: 8080/tcp dev server preview, 80/tcp HTTP and 443/tcp HTTPS once a web server hosts the build.
VuePress FAQ
Is VuePress 2 stable?
It is a release candidate. The docs call it ready for building sites, but small breaking changes can still arrive between RC versions.
Should I migrate to VitePress?
Not necessarily. An existing VuePress site keeps working; VitePress mainly makes sense when you start fresh or want a stable release line.
Disclaimer. The VuePress project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.