Files
Web_Template_Vue3_Dev/AI-Coding/openspec-lite/modules/vab-logo.yaml

27 lines
772 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Module Specvab-logoLogo + Title
module:
id: vab-logo
name: VabLogoLogo/标题)
type: ui
entrypoints:
- library/components/VabLogo/index.vue
public_api:
concept:
- "读取 settings.logo/settings.title并根据 theme.layout 渲染不同样式的 logo 区域"
dependency_closure:
runtime:
- "store-settingstheme/layout + logo + title"
- "vue-routerrouter-link"
- "VabIcon自定义 svgis-custom-svg"
- "SCSS$base-header-height/$base-logo-height/$base-title-color 等"
acceptance:
- "logo 存在时使用 vab-icon 渲染自定义 svg"
- "theme.layout==='horizontal' 时标题可隐藏hidden-xs-only"
pitfalls:
- "Column 布局会固定定位 logo依赖左侧菜单宽度相关变量"