Files
heroui-vue/apps/docs/introduction.md
T

23 lines
957 B
Markdown
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.
---
title: 介绍
description: 美观、现代的 Vue UI 组件库
---
## 设计原则
以固定提交的 HeroUI v3.2.6 为设计基线,保持组件的样式、布局、文案、变体、参数语义和主题高度一致。仅在框架机制要求时转换事件、插槽、响应式状态与部件导出方式。
## 当前范围
已迁移 Button、Card、Input、Switch 的主要视觉和组合结构,仍需完整视觉与交互验收。左侧导航只列出实际存在的组件,未迁移的组件不以占位演示代替。
## Vue 差异
- `className` → `class`。
- 函数 children → 作用域插槽。
- `Card.Header` → `CardHeader` 等独立导出。
- Input 使用 `v-model`;Switch 使用 `v-model:checked`,保留 isSelected 等上游语义属性。
- 框架专属的 PressEvent 与原生 click 不声明等价。
具体未覆盖能力在各组件 API 页说明。此项目为独立社区实现,不是官方 Vue 发行版。