vitepress

仓库创建 2026年1月28日最近提交 1 个月前SkillHot 收录 22 天前
▸ 精选理由

文档与博客快速上手,支持 Vue 组件嵌入 Markdown

这个 Skill 做什么

基于 Vite 与 Vue 的静态站点生成器,适合文档和博客。

基于 Vite 和 Vue 的静态站点生成器,特别适合搭文档、博客或营销页。用 Markdown 写内容,能直接在文档里嵌入 Vue 组件,构建结果是个快速响应的 SPA,开发时有极速的 HMR。适合需要文件路由、主题定制和快速本地预览的项目。

▸ 展开 SKILL.md 英文原文

VitePress static site generator powered by Vite and Vue. Use when building documentation sites, configuring themes, or writing Markdown with Vue components.

开发编程静态站点文档Vue通用
5.7k
Stars
313
Forks
19
仓库内 Skill
+188
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/antfu/skills/main/skills/vitepress/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/antfu/skills/main/skills/vitepress/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
VitePress is a Static Site Generator (SSG) built on Vite and Vue 3. It takes Markdown content, applies a theme, and generates static HTML that becomes an SPA for fast navigation. Perfect for documentation, blogs, and marketing sites.

**Key Characteristics:**
- File-based routing with `.md` files
- Vue components work directly in Markdown
- Fast HMR with instant updates (<100ms)
- Default theme optimized for documentation
- Built-in search (local or Algolia)

**Before working with VitePress projects:**
- Check `.vitepress/config.ts` for site configuration
- Look at `.vitepress/theme/` for custom theme extensions
- The `public/` directory contains static assets served as-is

> The skill is ba
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有