
VitePress Has a Free API — Static Sites Powered by Vite and Vue
What if your documentation site loaded instantly, supported Vue components in Markdown, and built in seconds instead of minutes? VitePress is the next-generation static site generator from the Vue ecosystem, powered by Vite. Why VitePress VuePress was great but slow to build. VitePress is a complete rewrite: Instant dev server — powered by Vite, starts in milliseconds Vue 3 in Markdown — use any Vue component directly in your docs Near-instant builds — 100x faster than VuePress Default theme — beautiful, responsive, dark mode out of the box Full-text search — built-in local search, no external service needed Quick Start npx vitepress init npm run docs:dev Write docs in Markdown: --- outline : deep --- # My API Reference ## Installation bash npm install my-sdk ## Usage ts import { createClient } from 'my-sdk' const client = createClient({ apiKey: 'xxx' }) vue Vue Components in Markdown < script setup > import { ref } from ' vue ' const count = ref ( 0 ) </ script > # Interactive Demo Cl
Continue reading on Dev.to JavaScript
Opens in a new tab


