wyfe-ivue 0.1.0
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.
- package/README.md +43 -0
- package/dist/index.es.js +1116 -0
- package/dist/index.umd.js +5 -0
- package/dist/types/index.d.ts +43 -0
- package/dist/vite.svg +1 -0
- package/dist/wyfe-ivue.css +1 -0
- package/package.json +67 -0
package/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# wyfe-ivue
|
|
2
|
+
|
|
3
|
+
基于 Vite7 + Vue3 + Typescript5 + ElementPlus2 构建的高性能【万有前端·iVue】组件库
|
|
4
|
+
|
|
5
|
+
## 特别说明
|
|
6
|
+
> 受作者个人时间与精力所限,及遵循“高内聚、低耦合”设计原则,【万有前端・iVue】组件库未提供独立文档地址,目前仅作为【[万有前端·iCode](https://wyfe.top/icode)】的一个菜单模块存在。
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## npm下载(支持pnpm/yarn/cnpm/npm)
|
|
10
|
+
```shell
|
|
11
|
+
$ pnpm i wyfe-ivue
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## 本地构建
|
|
15
|
+
1. 生成 tgz 包
|
|
16
|
+
```shell
|
|
17
|
+
$ cd wyfe-ivue
|
|
18
|
+
$ pnpm tgz
|
|
19
|
+
# 生成 wyfe-ivue-0.0.1.tgz
|
|
20
|
+
```
|
|
21
|
+
2. 在目标项目中安装和使用
|
|
22
|
+
```shell
|
|
23
|
+
$ cd targetProject
|
|
24
|
+
$ pnpm i D:/xxx/wyfe-ivue/wyfe-ivue-0.0.1.tgz
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## 使用
|
|
28
|
+
```js
|
|
29
|
+
// main.ts
|
|
30
|
+
import 'wyfe-ivue/dist/ui.css'
|
|
31
|
+
|
|
32
|
+
// xxx.vue
|
|
33
|
+
import {UseXXX} from 'wyfe-ivue'
|
|
34
|
+
|
|
35
|
+
<UseXXX/>
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## 版本号规则
|
|
39
|
+
+ 仅升级组件库依赖,修改第1位。eg:1.x.x;
|
|
40
|
+
+ 仅新增组件库组件,修改第2位。eg:x.8.x;
|
|
41
|
+
+ 仅修复、优化现有组件库组件,修改第3位。eg:x.x.1;
|
|
42
|
+
+ 以上3项都有变更或部分有变更则按照对应变更修改对应版本号位置;
|
|
43
|
+
+ 当对第1、2项有变更且上个版本第3位不为0时,需将第3位置为0。
|