Getting Started
Introduction
VitePress is a Static Site Generator (SSG) designed for building fast, content-focused sites.
Installation
Install dependencies using pnpm:
bash
pnpm installDevelopment
Start the development server:
bash
pnpm run devVitePress will start a hot-reloading dev server at http://localhost:5173.
Build
Build for production:
bash
pnpm run buildPreview
Preview production build:
bash
pnpm run previewProject Structure
.
├── docs
│ ├── .vitepress
│ │ └── config.mts # Configuration file
│ ├── guide
│ │ └── getting-started.md
│ ├── examples
│ │ └── markdown-examples.md
│ └── index.md # Homepage
└── package.jsonNext Steps
- Learn about Configuration
- View Markdown Examples