Cette page est affichée en anglais. Une traduction française est en cours.
ScriptsApr 12, 2026·2 min de lecture

VitePress — Vite and Vue Powered Static Site Generator

VitePress is a static site generator built on top of Vite and Vue. Designed for documentation websites with Markdown-centered authoring, Vue component extensibility, and lightning-fast dev/build. The successor to VuePress by the Vue.js team.

Introduction

VitePress is a static site generator built on top of Vite and Vue by the Vue.js team. Designed for documentation websites: Markdown-centered authoring, Vue component extensibility in Markdown, and lightning-fast dev/build. Successor to VuePress with a complete rewrite on Vite.

What VitePress Does

  • Markdown + Vue — use Vue components inside Markdown
  • Vite-powered — instant HMR during development
  • Default theme — beautiful docs theme with search, sidebar, nav
  • Code highlighting — Shiki with line highlighting
  • Frontmatter — YAML metadata per page
  • Built-in search — local search or Algolia
  • i18n — multi-language support
  • Last updated — git-based timestamps
  • Custom themes — extend or replace the default theme
  • SSG + SPA — static generation with client-side navigation

Comparison

Tool Framework Speed Components
VitePress Vue + Vite Fastest Vue
Docusaurus React Fast React
mdBook Rust Fast None
Starlight (Astro) Astro Fast Any
Nextra (Next.js) React Medium React

FAQ

Q: VitePress vs Docusaurus? A: VitePress is lighter (Vue + Vite); Docusaurus is more full-featured (version management, i18n, larger plugin ecosystem). Pick VitePress for Vue projects and Docusaurus for React projects.

Q: Can I use React components? A: No. VitePress is bound to Vue. If you need React, pick Docusaurus or Nextra.

Sources

Discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires