मुख्य सामग्री पर जाएँ
Skillpedia
डॉक्यूमेंटेशन6.0k · #14446

vitepress

यह क्या करती है

यह स्किल बताती है कि VitePress से दस्तावेज़ वेबसाइट कैसे बनाई जाए, जो Markdown फ़ाइलों को तेज़ स्टैटिक वेब पेज में बदलता है। यह उन टीमों के लिए है जिन्हें भारी सेटअप के बिना साफ़ डॉक्स साइट चाहिए।

कब इस्तेमाल करें

  • ✓जब आप Markdown फ़ाइलों से दस्तावेज़ वेबसाइट बनाना चाहते हैं।
  • ✓जब आपको साइट की config सेट करनी है या उसकी थीम बदलनी है।
  • ✓जब आप Markdown पेजों के अंदर Vue कंपोनेंट जोड़ना चाहते हैं।

Skill का लिंक

https://github.com/antfu/skills/blob/main/skills/vitepress/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/antfu/skills/blob/main/skills/vitepress/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे प्रोजेक्ट के लिए VitePress दस्तावेज़ साइट बनाइए, जिसमें साइडबार और सर्च बॉक्स हो।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट साइट config और थीम फ़ोल्डर जाँचता है, फिर Markdown पेज और सेटिंग लिखता है, जिन्हें VitePress तेज़ स्टैटिक साइट में बदल देता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

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 2.0.0-alpha.20, generated at 2026-09-25.

VitePress 2 notes (v1 → v2): install with vitepress@next; requires Node.js 22+. defineConfigWithTheme is deprecated — use defineConfig<ThemeConfig>. Native RTL support (dir option, CSS logical properties) replaces the old PostCSS-plugin approach. Built-in iconify pipeline (icons config, useIcon/VPIcon, collection:name social icons). New assetsBase (CDN) and assetsShards build options; metaChunk removed. Markdown image.lazyLoading renamed to image.lazyLoad.

Core

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

Features

Code & Content

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

Theme

Topic Description Reference
Theme Config Nav, sidebar, search, social links, footer theme-config
Customization CSS variables, slots, fonts, global components theme-customization
Custom Theme Building themes from scratch, theme interface theme-custom

Advanced

Topic Description Reference
Internationalization Multi-language sites, locale configuration advanced-i18n
SSR Compatibility Server-side rendering, ClientOnly, dynamic imports advanced-ssr

Recipes

Topic Description Reference
Deployment GitHub Pages, Netlify, Vercel, Cloudflare, Nginx recipes-deploy
अक्सर पूछे जाने वाले सवाल

VitePress चलाने के लिए मुझे क्या चाहिए?

मार्गदर्शन के अनुसार VitePress 2 को Node.js 22 या उससे नया वर्शन चाहिए।

क्या इसमें सर्च शामिल है?

हाँ। VitePress में अंतर्निहित लोकल सर्च है, और Algolia सर्च भी इस्तेमाल किया जा सकता है।

स्टैटिक फ़ाइलें कहाँ जाती हैं?

public फ़ोल्डर की फ़ाइलें जैसी हैं वैसी ही परोसी जाती हैं।

जानकारी

लेखक का मूल विवरण

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

repo: antfu/skills

लोकप्रियता

GitHub स्टार
6.0k
रैंकिंग में स्थान
#14446
लाइसेंस
MIT
अपडेट की गई
30/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

antfu-create-pr

6.0k

आपके एजेंट को आपकी ब्रांच से GitHub पर साफ़ pull request खोलने में मदद करती है, जिसमें बदला गया और कारण का सरल सारांश होता है।

कोडिंगसामान्य कोडिंग

antfu-issue-triage

6.0k

आपके एजेंट को खुले GitHub इश्यू और pull request छाँटने में मदद करती है, डुप्लिकेट और पहले से ठीक हो चुके आइटम पहचानकर, और कार्रवाई से पहले आपसे पूछकर।

कोडिंगसामान्य कोडिंग

antfu-query

6.0k

आपके एजेंट को किसी योजना या विचार पर एक-एक करके सवाल पूछने देती है, जब तक आप दोनों एक स्पष्ट और परखी हुई समझ पर न पहुँच जाएँ।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

antfu-simplify

6.0k

आपके एजेंट को आपके कोड बदलावों को सबसे छोटे सही रूप में घटाने में मदद करती है, जिसमें जो ज़रूरी नहीं है उसे हटाया जाता है।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills