옵션
집 Skill 웹 개발 vitepress

vitepress

antfu/skills antfu/skills

VitePress 정적 사이트 생성기를 사용하여 문서 사이트를 구축하고, 테마를 구성하며, Vue 컴포넌트를 사용하여 Markdown을 작성합니다.

...모든 것을 확장하십시오
17
업데이트 된 시간 2026년 9월 7일

VitePress는 Vite와 Vue 3을 기반으로 구축된 정적 사이트 생성기(SSG)입니다. Markdown 콘텐츠를 적용하고 테마를 적용하여 빠른 탐색을 위한 SPA가 되는 정적 HTML을 생성합니다. 문서, 블로그, 마케팅 사이트에 이상적입니다.

주요 특징:

  • .md 파일을 사용한 파일 기반 라우팅
  • Markdown에서 Vue 컴포넌트 직접 사용
  • 즉각적인 업데이트를 통한 빠른 HMR (
  • 문서 최적화 기본 테마
  • 내장 검색 (로컬 또는 Algolia)

VitePress 프로젝트 작업 전:

  • 사이트 구성을 위해 .vitepress/config.ts 확인
  • 사용자 정의 테마 확장을 위해 .vitepress/theme/ 확인
  • public/ 디렉토리에는 그대로 제공되는 정적 자산이 포함됩니다

이 스킬은 VitePress 1.x를 기반으로 하며, 2026-01-28에 생성되었습니다.

핵심

주제설명참조
구성구성 파일 설정, defineConfig, 사이트 메타데이터core-config
CLI명령줄 인터페이스: dev, build, preview, initcore-cli
라우팅파일 기반 라우팅, 소스 디렉토리, 리라이팅core-routing
MarkdownFrontmatter, 컨테이너, 테이블, 앵커, 포함core-markdown

기능

코드 및 콘텐츠

주제설명참조
코드 블록구문 강조, 줄 강조, 차이점, 초점features-code-blocks
Markdown 내 Vue컴포넌트, script setup, 지시문, 템플릿features-vue
데이터 로드빌드 시간 데이터 로더, createContentLoaderfeatures-data-loading
동적 라우팅데이터에서 페이지 생성, 경로 로더 파일features-dynamic-routes

테마

주제설명참조
테마 구성네비게이션, 사이드바, 검색, 소셜 링크, 바닥글theme-config
사용자 정의CSS 변수, 슬롯, 글꼴, 전역 컴포넌트theme-customization
사용자 정의 테마처음부터 테마 구축, 테마 인터페이스theme-custom

고급

주제설명참조
국제화다국어 사이트, 로캘 구성advanced-i18n
SSR 호환성서버 사이드 렌더링, ClientOnly, 동적 가져오기advanced-ssr

레시피

주제설명참조
배포GitHub Pages, Netlify, Vercel, Cloudflare, Nginxrecipes-deploy
GitHub에서 보기
---
name: vitepress
description: Build documentation sites, configure themes, and write Markdown with Vue components using the VitePress static site generator.
---

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 based on VitePress 1.x, generated at 2026-01-28.

## Core

| Topic | Description | Reference |
|-------|-------------|-----------|
| Configuration | Config file setup, defineConfig, site metadata | [core-config](references/core-config.md) |
| CLI | Command-line interface: dev, build, preview, init | [core-cli](references/core-cli.md) |
| Routing | File-based routing, source directory, rewrites | [core-routing](references/core-routing.md) |
| Markdown | Frontmatter, containers, tables, anchors, includes | [core-markdown](references/core-markdown.md) |

## Features

### Code & Content

| Topic | Description | Reference |
|-------|-------------|-----------|
| Code Blocks | Syntax highlighting, line highlighting, diffs, focus | [features-code-blocks](references/features-code-blocks.md) |
| Vue in Markdown | Components, script setup, directives, templating | [features-vue](references/features-vue.md) |
| Data Loading | Build-time data loaders, createContentLoader | [features-data-loading](references/features-data-loading.md) |
| Dynamic Routes | Generate pages from data, paths loader files | [features-dynamic-routes](references/features-dynamic-routes.md) |

## Theme

| Topic | Description | Reference |
|-------|-------------|-----------|
| Theme Config | Nav, sidebar, search, social links, footer | [theme-config](references/theme-config.md) |
| Customization | CSS variables, slots, fonts, global components | [theme-customization](references/theme-customization.md) |
| Custom Theme | Building themes from scratch, theme interface | [theme-custom](references/theme-custom.md) |

## Advanced

| Topic | Description | Reference |
|-------|-------------|-----------|
| Internationalization | Multi-language sites, locale configuration | [advanced-i18n](references/advanced-i18n.md) |
| SSR Compatibility | Server-side rendering, ClientOnly, dynamic imports | [advanced-ssr](references/advanced-ssr.md) |

## Recipes

| Topic | Description | Reference |
|-------|-------------|-----------|
| Deployment | GitHub Pages, Netlify, Vercel, Cloudflare, Nginx | [recipes-deploy](references/recipes-deploy.md) |

모든 파일

0개 파일

vitepress 설치

스킬 파일을 다운로드하여 .claude/skills/ 디렉토리에 추출하세요.

ZIP 다운로드

저장소를 클론하고 스킬 파일을 프로젝트에 복사하세요.

git clone https://github.com/antfu/skills/tree/main/skills/vitepress # Copy SKILL.md to your .claude/skills/ directory

복사 복사
빠른 설정: 스킬 폴더를 .claude/skills/에 복사하세요. Claude가 자동으로 감지하고 사용합니다.
저장소 antfu/skills

관련 스킬

github-code-search
업데이트 된 시간 2026년 6월 29일
drizzle-orm
업데이트 된 시간 2026년 6월 29일
clickhouse-io
업데이트 된 시간 2026년 6월 29일
prisma-client-api
업데이트 된 시간 2026년 6월 29일
OR