fy-components-test 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/README.md +25 -16
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,13 @@
1
- # @miaoma/components
1
+ <!--
2
+ * @FileDescription:
3
+ * @Author: czh
4
+ * @Date: 2026-04-08 16:49:07
5
+ * @LastEditors: czh
6
+ * @LastEditTime: 2026-04-09 14:48:49
7
+ * @FilePath: \ai-ui\packages\components\README.md
8
+ -->
9
+
10
+ # fy-components-test
2
11
 
3
12
  基于 Element Plus 的二次封装组件库,提供更加易用、美观的 UI 组件。
4
13
 
@@ -14,13 +23,13 @@
14
23
 
15
24
  ```bash
16
25
  # 使用 npm
17
- npm install @miaoma/components element-plus
26
+ npm install fy-components-test element-plus
18
27
 
19
28
  # 使用 pnpm
20
- pnpm add @miaoma/components element-plus
29
+ pnpm add fy-components-test element-plus
21
30
 
22
31
  # 使用 yarn
23
- yarn add @miaoma/components element-plus
32
+ yarn add fy-components-test element-plus
24
33
  ```
25
34
 
26
35
  ## 引入
@@ -28,22 +37,22 @@ yarn add @miaoma/components element-plus
28
37
  ### 全局引入
29
38
 
30
39
  ```ts
31
- import { createApp } from 'vue'
32
- import App from './App.vue'
33
- import ElementPlus from 'element-plus'
34
- import 'element-plus/dist/index.css'
35
- import MiaomaComponents from '@miaoma/components'
36
-
37
- const app = createApp(App)
38
- app.use(ElementPlus)
39
- app.use(MiaomaComponents)
40
- app.mount('#app')
40
+ import { createApp } from 'vue';
41
+ import App from './App.vue';
42
+ import ElementPlus from 'element-plus';
43
+ import 'element-plus/dist/index.css';
44
+ import MiaomaComponents from 'fy-components-test';
45
+
46
+ const app = createApp(App);
47
+ app.use(ElementPlus);
48
+ app.use(MiaomaComponents);
49
+ app.mount('#app');
41
50
  ```
42
51
 
43
52
  ### 按需引入
44
53
 
45
54
  ```ts
46
- import { MButton } from '@miaoma/components'
55
+ import { MButton } from 'fy-components-test';
47
56
  ```
48
57
 
49
58
  ## 组件列表
@@ -63,4 +72,4 @@ import { MButton } from '@miaoma/components'
63
72
 
64
73
  ## 许可证
65
74
 
66
- MIT
75
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fy-components-test",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "基于 Element Plus 的二次封装组件库",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",