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

View File

@@ -0,0 +1,21 @@
# Module Spec示例mock
module:
id: mock
name: 本地 MockdevServer 中间件)
entrypoints:
- mock/index.js
- mock/controller
public_api:
concept:
- "route object: { url, type, response }"
usage_examples:
- "在 mock/controller/<domain>.js 增加路由对象devServer 会自动注册"
acceptance:
- "启动开发服务器后,请求命中 mock 并返回 mockjs 数据"
pitfalls:
- "路由匹配会自动拼 baseURL 前缀(来自 src/config"