import{_ as t,c as a,ag as r,o as i}from"./chunks/framework.C1C4sYC0.js";const u=JSON.parse('{"title":"What is VitePress?","description":"","frontmatter":{},"headers":[],"relativePath":"guide/what-is-vitepress.md","filePath":"en/guide/what-is-vitepress.md","lastUpdated":1719560776000}'),s={name:"guide/what-is-vitepress.md"};function n(o,e,l,p,d,h){return i(),a("div",null,e[0]||(e[0]=[r('

What is VitePress?

VitePress is a Static Site Generator (SSG) designed for building fast, content-centric websites. In a nutshell, VitePress takes your source content written in Markdown, applies a theme to it, and generates static HTML pages that can be easily deployed anywhere.

Just want to try it out? Skip to the Quickstart.

Use Cases

Developer Experience

VitePress aims to provide a great Developer Experience (DX) when working with Markdown content.

Performance

Unlike many traditional SSGs where each navigation results in a full page reload, a website generated by VitePress serves static HTML on the initial visit, but becomes a Single Page Application (SPA) for subsequent navigation within the site. This model, in our opinion, provides an optimal balance for performance:

What About VuePress?

VitePress is the spiritual successor of VuePress. The original VuePress was based on Vue 2 and webpack. With Vue 3 and Vite under the hood, VitePress provides significantly better DX, better production performance, a more polished default theme, and a more flexible customization API.

The API difference between VitePress and VuePress mostly lies in theming and customization. If you are using VuePress 1 with the default theme, it should be relatively straightforward to migrate to VitePress.

There has also been effort invested into VuePress 2, which also supports Vue 3 and Vite with more compatibility with VuePress 1. However, maintaining two SSGs in parallel isn't sustainable, so the Vue team has decided to focus on VitePress as the main recommended SSG in the long run.

',15)]))}const g=t(s,[["render",n]]);export{u as __pageData,g as default};