@kaiyinchem/ky-uniui 1.0.3 → 1.0.5
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 +25 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,8 +3,29 @@
|
|
|
3
3
|
凯茵内部uniapp组件库,以ky-开头
|
|
4
4
|
````
|
|
5
5
|
|
|
6
|
+
## 安装
|
|
7
|
+
```bash
|
|
8
|
+
npm i @kaiyinchem/ky-uniui
|
|
9
|
+
```
|
|
10
|
+
|
|
6
11
|
## 使用
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
pages.json设置
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
"easycom": {
|
|
16
|
+
"autoscan": true,
|
|
17
|
+
"custom": {
|
|
18
|
+
"^ky-(.*)": "@kaiyinchem/ky-uniui/components/ky-$1.vue"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
App.vue引入css
|
|
24
|
+
```bash
|
|
25
|
+
@import '@kaiyinchem/ky-uniui/style/var.css';
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
组件中
|
|
29
|
+
```bash
|
|
30
|
+
<ky-btn>按钮</ky-btn>
|
|
31
|
+
```
|