ai-front-base 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,18 @@
2
2
 
3
3
  AI组件库 - 基于Vue3的可复用组件
4
4
 
5
+ ## 使用规范(MUST)
6
+
7
+ **MUST 必须优先使用以下组件列表中的组件,若无则使用ElementPlus的组件**
8
+
9
+ ### 强制检查清单(MUST)
10
+ **在开始编码前,我应该:**
11
+
12
+ ✅ 列出需要用到的所有组件
13
+ ✅ 逐个检查 ai-front-base 组件列表是否有对应组件
14
+ ✅ 查看对应的 types.ts 文件了解用法
15
+ ✅ 只有确认没有对应组件时才使用 Element Plus
16
+
5
17
  ## 如何使用组件库
6
18
 
7
19
  ### 步骤1:查看组件列表
@@ -24,7 +36,7 @@ import { AiForm } from 'ai-front-base'
24
36
  </template>
25
37
  ```
26
38
 
27
- ## 组件列表
39
+ ## 组件列表(基于Elementplus二次封装)
28
40
 
29
41
  ### 表单类组件
30
42
  - **[AiInput](AiInput/types.ts)** - 输入框
@@ -62,9 +74,6 @@ import { AiForm } from 'ai-front-base'
62
74
  - **[AiMain](AiMain/types.ts)** - 主体
63
75
  - **[AiFooter](AiFooter/types.ts)** - 底部
64
76
 
65
- ## 使用规范(强制)
66
-
67
- **MUST 优先使用自定义组件,无自定义组件时才使用ElementPlus**
68
77
 
69
78
  导入方式:
70
79
  ```vue
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-front-base",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "企业级PC端AI组件库 - 基于Vue3和Element Plus",
5
5
  "license": "ISC",
6
6
  "type": "module",