Skip to content

Getting Started

Introduction

VitePress is a Static Site Generator (SSG) designed for building fast, content-focused sites.

Installation

Install dependencies using pnpm:

bash
pnpm install

Development

Start the development server:

bash
pnpm run dev

VitePress will start a hot-reloading dev server at http://localhost:5173.

Build

Build for production:

bash
pnpm run build

Preview

Preview production build:

bash
pnpm run preview

Project Structure

.
├── docs
│   ├── .vitepress
│   │   └── config.mts       # Configuration file
│   ├── guide
│   │   └── getting-started.md
│   ├── examples
│   │   └── markdown-examples.md
│   └── index.md             # Homepage
└── package.json

Next Steps

Exploring AI-Driven Development Workflow