Skip to content

Commit d0c282f

Browse files
committed
feat: ai settings update
1 parent a9c983a commit d0c282f

File tree

139 files changed

+6072
-3805
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+6072
-3805
lines changed

.vscode/settings.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
2-
"cSpell.words": [
3-
"hitokoto",
4-
"vditor"
5-
],
2+
"cSpell.words": ["hitokoto", "vditor"],
63
// Note that `javascript.preferences.autoImportFileExcludePatterns` can be specified for JavaScript too.
74
"typescript.preferences.autoImportFileExcludePatterns": [
85
"**/node_modules/@types/node",
96
"**/node_modules/@vicons/**"
107
],
118
"typescript.tsserver.log": "verbose"
12-
}
9+
}

CHANGELOG.md

Lines changed: 783 additions & 1756 deletions
Large diffs are not rendered by default.

CLAUDE.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# CLAUDE.md
2+
3+
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4+
5+
## Project Overview
6+
7+
MX Admin (admin-vue3) is the **legacy dashboard** for MX Space, a personal blog management system. Built with Vue 3, Naive UI, and WindiCSS. This project is being replaced by `mx-dashboard` (React-based rewrite).
8+
9+
> **Note**: This is the old version of the dashboard. For new feature development, prefer working on `mx-dashboard` instead.
10+
11+
## Development Commands
12+
13+
```bash
14+
# Install dependencies
15+
pnpm install
16+
17+
# Start development server (opens browser automatically)
18+
pnpm dev
19+
20+
# Build for production
21+
pnpm build
22+
23+
# Preview production build
24+
pnpm preview
25+
26+
# Lint code
27+
pnpm lint
28+
pnpm lint:fix
29+
30+
# Format code
31+
pnpm format
32+
```
33+
34+
## Architecture Overview
35+
36+
### Directory Structure
37+
38+
- `src/views/` - Page components organized by feature
39+
- `src/components/` - Reusable UI components
40+
- `src/layouts/` - Layout components (sidebar, header, etc.)
41+
- `src/stores/` - Pinia state management stores
42+
- `src/router/` - Vue Router configuration
43+
- `src/models/` - TypeScript type definitions and API models
44+
- `src/hooks/` - Vue 3 composables
45+
- `src/utils/` - Utility functions
46+
- `src/socket/` - WebSocket connection handling
47+
- `src/external/` - External service integrations
48+
49+
### Technology Stack
50+
51+
- **Vue 3** - UI framework with Composition API
52+
- **Naive UI** - Component library
53+
- **WindiCSS** - Utility-first CSS framework
54+
- **Pinia** - State management
55+
- **Vue Router** - Routing
56+
- **CodeMirror/Monaco** - Code editors
57+
- **@mx-space/api-client** - API client for backend communication
58+
59+
### Key Patterns
60+
61+
**State Management**: Uses Pinia stores in `src/stores/` for global state.
62+
63+
**API Integration**: Uses `@mx-space/api-client` for type-safe API calls to MX Core backend.
64+
65+
**Auto Import**: Uses `unplugin-auto-import` for automatic importing of Vue APIs and components.
66+
67+
**WebSocket**: Real-time updates via Socket.IO connection to backend.
68+
69+
## Configuration
70+
71+
- Environment variables in `.env` and `.env.production`
72+
- Vite configuration in `vite.config.mts`
73+
- WindiCSS configuration in `windi.config.ts`
74+
- Theme configuration in `theme.config.ts`
75+
76+
## Related Projects
77+
78+
- **mx-core** - Backend API server (NestJS + MongoDB)
79+
- **mx-dashboard** - New React-based dashboard (replacement for this project)

0 commit comments

Comments
 (0)