feat: 提交多个新UI组件模块spec和相关属性设定,包括卡片封装、渐变卡片、列式布局组件等,重写了readme.md,用于AI Coding
Some checks are pending
Call HTTPS API / build (push) Waiting to run

This commit is contained in:
2025-12-27 15:42:57 +08:00
parent fc9c726de4
commit 55abf26cfa
78 changed files with 3024 additions and 103 deletions

8
AI-Coding/Pitfalls.md Normal file
View File

@@ -0,0 +1,8 @@
# 已知陷阱与迁移雷区Pitfalls
- **生产环境禁调试**`src/App.vue` 使用 `disable-devtool`,可能影响某些测试/调试环境。
- **生产环境默认 Mock**`src/main.ts` 中存在“生产启用 mockXHR”的逻辑做真实项目发布时要确认策略。
- **配置入口**`vue.config.js` 通过 `require('./src/config')` 读取配置;`src/config/index.js` 会聚合导出多个子配置。
- **自动插件加载**`library/index.ts``require.context('./plugins', true, /\\.ts$/)` 全量加载;抽取模块时容易带入不需要依赖。
> 对应的约束与处理建议:见 [openspec-lite/project.yaml](openspec-lite/project.yaml)。