mali-applet-ui 0.0.33 → 0.0.34
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 +32 -32
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
# mali-applet-ui
|
|
2
|
-
|
|
3
|
-
Mali-Applet-UI 码里云小程序组件库
|
|
4
|
-
|
|
5
|
-
## 安装
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
# npm方式安装
|
|
9
|
-
npm install mali-applet-ui
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
## 按需引入
|
|
13
|
-
|
|
14
|
-
1. `pages.json`配置easycom规则(按需引入)
|
|
15
|
-
|
|
16
|
-
```js
|
|
17
|
-
// pages.json
|
|
18
|
-
{
|
|
19
|
-
"easycom": {
|
|
20
|
-
"autoscan": true,
|
|
21
|
-
"custom": {
|
|
22
|
-
"^ml-(.*)": "mali-applet-ui/components/ml-$1/ml-$1.vue"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
"pages": [
|
|
27
|
-
// ......
|
|
28
|
-
]
|
|
29
|
-
}
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
深圳叮当科技技术有限公司
|
|
1
|
+
# mali-applet-ui
|
|
2
|
+
|
|
3
|
+
Mali-Applet-UI 码里云小程序组件库
|
|
4
|
+
|
|
5
|
+
## 安装
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# npm方式安装
|
|
9
|
+
npm install mali-applet-ui
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## 按需引入
|
|
13
|
+
|
|
14
|
+
1. `pages.json`配置easycom规则(按需引入)
|
|
15
|
+
|
|
16
|
+
```js
|
|
17
|
+
// pages.json
|
|
18
|
+
{
|
|
19
|
+
"easycom": {
|
|
20
|
+
"autoscan": true,
|
|
21
|
+
"custom": {
|
|
22
|
+
"^ml-(.*)": "mali-applet-ui/components/ml-$1/ml-$1.vue"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
// 此为本身已有的内容
|
|
26
|
+
"pages": [
|
|
27
|
+
// ......
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
深圳叮当科技技术有限公司
|