Skip to content

Configuration

Learn how to configure your project according to your needs.

Project Settings

You can customize the project by modifying the configuration files.

VitePress Configuration

The main configuration file is located at .vitepress/config.ts:

typescript
import { defineConfig } from 'vitepress'

export default defineConfig({
  title: 'Your Project Title',
  description: 'Your Project Description',
  themeConfig: {
    nav: [
      // Navigation items
    ],
    sidebar: {
      // Sidebar configuration
    }
  }
})

Common Configuration Options

  • title - Set the page title
  • description - Set the meta description
  • logo - Add your logo
  • nav - Configure the navigation bar
  • sidebar - Organize documentation structure

Environment Variables

Create a .env file in the root directory to add environment variables:

VITE_APP_TITLE=My Project
VITE_API_URL=http://localhost:3000

For more information, see the VitePress Documentation.

Released under the MIT License. (dev)