📝 Quick Start (Development)
This is a template page for your development documentation.
Overview
Describe your project's development workflow and concepts here.
TIP
This is a template page. Modify the content to fit your project.
Environment Setup
Requirements
- Node.js 24+
- Your project dependencies...
Install
bash
npm install
npm run docs:devDevelopment Flow
1. Create a feature branch
bash
git checkout -b feature/your-feature2. Write code
Follow project conventions.
3. Test
bash
npm run test4. Commit
bash
git add .
git commit -m "feat: describe your changes"Code Conventions
Directory Structure
src/
├── components/ # Components
├── utils/ # Utilities
├── types/ # Type definitions
└── index.ts # Entry pointNaming Conventions
| Type | Convention | Example |
|---|---|---|
| Files | kebab-case | my-component.ts |
| Classes | PascalCase | MyComponent |
| Functions | camelCase | getData() |
| Constants | UPPER_SNAKE | MAX_COUNT |
FAQ
How to debug?
VitePress supports HMR in dev mode. Changes are reflected instantly.
How to add a new page?
- Create a
.mdfile in the appropriate directory - Register in
config.tssidebar - Write content