vue-lazy-cascader 0.1.10 → 0.1.12

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 CHANGED
@@ -24,8 +24,15 @@ yarn add vue-lazy-cascader
24
24
  pnpm install vue-lazy-cascader --save
25
25
  ```
26
26
 
27
+ ## Tip
28
+ 由于该组件并未打包element-ui相关组件,所以使用时,必须已经安装element-ui。
29
+
27
30
  ## 使用方法
28
31
 
32
+ > [es模块示例](./src/components/VueLazyCascaderExample.vue)
33
+
29
34
  ```javascript
30
35
  import VueLazyCascader from "vue-lazy-cascader";
31
- ```
36
+ ```
37
+
38
+ > [直接script引入示例](./example/index.html)
package/lib/demo.html CHANGED
@@ -1 +1,6 @@
1
- <!doctype html><meta charset="utf-8"><title>vue-lazy-cascader demo</title><script src="./vue-lazy-cascader.umd.js"></script><link rel="stylesheet" href="./vue-lazy-cascader.css"><script>console.log(vue-lazy-cascader)</script>
1
+ <!DOCTYPE html><meta charset="utf-8" /><title>vue-lazy-cascader demo</title>
2
+ <script src="./vue-lazy-cascader.umd.js"></script>
3
+ <link rel="stylesheet" href="./vue-lazy-cascader.css" />
4
+ <script>
5
+ console.log(vue - lazy - cascader);
6
+ </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-lazy-cascader",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "private": false,
5
5
  "description": "A cascader component based on element-ui, which retains the basic functionality of el-cascader while adding remote search and scroll loading of nodes.",
6
6
  "main": "./lib/vue-lazy-cascader.umd.min.js",
@@ -18,7 +18,7 @@
18
18
  ],
19
19
  "repository": {
20
20
  "type": "git",
21
- "url": "git+https://github.com/jyj1202/cascader-pro.git"
21
+ "url": "git+https://github.com/jyj1202/vue-lazy-cascader.git"
22
22
  },
23
23
  "author": "jyj1202",
24
24
  "license": "MIT",