This commit is contained in:
2025-11-16 22:11:15 +08:00
parent 3a9e823375
commit 1540e44288
2 changed files with 6 additions and 1 deletions

View File

@@ -7,6 +7,9 @@ globs: **/*.java, **/*.xml, **/*.yaml, **/*.yml
## 项目架构
## 代码规划
- 代码简洁易于人类阅读
### 模块结构
- `yudao-dependencies`: Maven 依赖版本统一管理
- `yudao-framework`: 框架拓展组件(技术组件)

View File

@@ -5,6 +5,9 @@ globs: **/*.vue, **/*.ts, components/**/*
# Vue.js 最佳实践
## 代码规划
- 代码简洁易于人类阅读
## 组件结构
- 优先使用组合式 API 而非选项式 API
- 保持组件小巧且功能专注
@@ -77,7 +80,6 @@ globs: **/*.vue, **/*.ts, components/**/*
- 实现完整的错误处理
- 规范事件处理机制
- 为复杂逻辑添加文档注释
- 代码简洁易于人类阅读
- 文件名使用mutiword 示例 'ExamplePage'
## 构建与工具链