Vite & Vue powered static site generator
open sourceMITself-hostablefree
VitePress is a static site generator that turns Markdown into fast, content-focused websites, with a default theme built for technical documentation. Each Markdown page is also a Vue single-file component, so pages can embed Vue components, and Markdown extensions add frontmatter, tables, syntax highlighting and code block features. The first visit gets pre-rendered HTML, and later navigation runs as a single-page app. Built on Vite, it serves edits instantly in development, supports custom themes, build-time data loading, internationalization and sitemaps, and deploys anywhere as static files. It powers the docs of Vite, Rollup, Pinia, VueUse and Vitest, and the Vue.js docs use it with a custom theme.
Problems it solves
- publish my library's documentation as a fast static site from Markdown files
- add interactive components to my docs pages without leaving Markdown
- a docs site generator for a Vue project
- docs site with a sidebar, search and dark mode out of the box
Features
- Markdown to static HTML
- default theme for technical documentation
- Vue components in Markdown
- code block highlighting and Markdown extensions
- SPA navigation after a pre-rendered first load
- instant dev server through Vite
- custom themes and theme extension
- build-time data loading and dynamic routes
- internationalization
- sitemap generation
View 1 more
- MPA mode (experimental)
Alternatives
The same job
These do what VitePress does.
- Starlight Build beautiful, accessible, high-performance documentation websites with Astro
- Docusaurus Easy to maintain open source documentation websites.
- MkDocs Project documentation with Markdown.
- Material for MkDocs Documentation that simply works
- Fumadocs The React.js docs framework
- mdBook Create books from Markdown files