feat: 提交多个新UI组件模块spec和相关属性设定,包括卡片封装、渐变卡片、列式布局组件等,重写了readme.md,用于AI Coding
Some checks are pending
Call HTTPS API / build (push) Waiting to run
Some checks are pending
Call HTTPS API / build (push) Waiting to run
This commit is contained in:
27
AI-Coding/openspec-lite/modules/ui-components.yaml
Normal file
27
AI-Coding/openspec-lite/modules/ui-components.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
# Module Spec:ui-components(Vab 组件库总览)
|
||||
|
||||
module:
|
||||
id: ui-components
|
||||
name: Vab 组件库(library/components/Vab*)
|
||||
type: ui
|
||||
entrypoints:
|
||||
- library/components/
|
||||
|
||||
public_api:
|
||||
concept:
|
||||
- "每个组件目录对应一个 Vab* 组件族;复用优先按目录整包搬运"
|
||||
|
||||
dependency_closure:
|
||||
runtime:
|
||||
- "Element Plus(大量 el-* 依赖)"
|
||||
- "icons:vab-icons 与 @element-plus/icons-vue(常通过 setupVab 全局注册)"
|
||||
- "全局样式:library/styles/vab.scss"
|
||||
alias:
|
||||
- "@ -> src"
|
||||
- "@vab -> library"
|
||||
|
||||
acceptance:
|
||||
- "目标项目能渲染组件(至少 smoke render)"
|
||||
|
||||
pitfalls:
|
||||
- "部分组件可能依赖路由、store、权限指令等全局插件;抽取前必须列出依赖闭包"
|
||||
Reference in New Issue
Block a user