28 lines
760 B
YAML
28 lines
760 B
YAML
|
|
# 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、权限指令等全局插件;抽取前必须列出依赖闭包"
|