About VitePress
VitePress is an MIT-licensed static site generator built on Vite and Vue, presented by its authors as the spiritual successor to VuePress. Pages are Markdown with optional Vue components, and the default theme supplies navigation, a sidebar and local search.
The stable line is 1.6.x, while version 2 is in alpha and its docs ask for Node.js 22 or newer. A CloudSat server can build the site and serve the output from the same machine, or act as a preview host while you write.
The workflow is short: npx vitepress init creates a project, npm run docs:dev starts the dev server on port 5173, and npm run docs:build writes static files to .vitepress/dist.
What you get with VitePress
- Markdown pages with Vue components inside
- Default theme with nav, sidebar and local search
- Hot module replacement while you write
- Syntax highlighting with Shiki
- Static HTML output for any web server
VitePress use cases
- Publish product documentation from a Git repository
- Keep an internal handbook as plain Markdown files
- Build a small blog or landing site with Vue extras
After you deploy VitePress
- When the server is Running, SSH in, create a folder and run
npx vitepress initto scaffold the site. - Start
npm run docs:dev -- --hostand openhttp://<server IP>:5173to preview as you edit. - Build with
npm run docs:build; the static files land in.vitepress/dist. - Serve that folder with Caddy or nginx on your domain over HTTPS.
VitePress ports
Open these in your firewall if you use one: 5173/tcp dev server (when started with --host), 80/tcp and 443/tcp for the built site behind a web server.
VitePress FAQ
VitePress or VuePress?
The Vue team calls VitePress the spiritual successor to VuePress. VitePress 1.6 is a stable release, while VuePress 2 is still a release candidate.
Does the live site need Node.js?
No. After docs:build the output is plain HTML, CSS and JavaScript that any static server can host; Node.js is only needed to build.
Disclaimer. The VitePress 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.