@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.
Files changed (2) hide show
  1. package/README.md +25 -4
  2. 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
- npm i ky-uniui
9
- App.vue引入var.css
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
+ ```
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "style"
8
8
  ],
9
9
  "description": "an uniapp ui",
10
- "version": "1.0.3",
10
+ "version": "1.0.5",
11
11
  "repository": {
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/yezipi/ky-uniui.git"