Skip to content

Commit 3409414

Browse files
authored
Merge pull request #36 from ZYSzys/master
简单封装成了vue组件
2 parents ba188c4 + ec13b90 commit 3409414

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

README-zh.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@
4949

5050
> npm i --save canvas-nest.js
5151
52-
然后可以使用 script 方式引入 umd 包,当然也可使用模块化方式 import。并且只有一个 API,使用如下:
52+
然后可以使用 script 方式引入 umd 包,当然也可使用模块化方式 import。
53+
54+
并且只有一个 API,使用如下:
5355

5456
```js
5557
import CanvasNest from 'canvas-nest.js';
@@ -66,6 +68,9 @@ const cn = new CanvasNest(element, config);
6668
cn.destroy();
6769
```
6870

71+
作为Vue组件使用:
72+
- [vue-canvas-nest](https://github.com/ZYSzys/vue-canvas-nest)
73+
6974

7075
## 配置和配置项
7176

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ const cn = new CanvasNest(element, config);
6868
cn.destroy();
6969
```
7070

71+
Use as Vue component:
72+
- [vue-canvas-nest](https://github.com/ZYSzys/vue-canvas-nest)
73+
74+
7175

7276
## Config
7377

0 commit comments

Comments
 (0)