forked from buuing/lucky-canvas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,10 +96,18 @@ createApp(App).use(LuckDraw).mount('#app') | |
|
||
### 方式 2:通过 script 标签引入 | ||
|
||
从下面的链接里下载`vue-luck-draw.umd.min.js`文件, 然后使用 script 标签引入 | ||
> 为了避免 CDN 链接出现异常或波动,我非常建议你**缓存到本地或服务器** | ||
- **vue2.x:** | ||
- **最新版本:** [https://cdn.jsdelivr.net/npm/vue-luck-draw/dist/vue-luck-draw.umd.min.js](https://cdn.jsdelivr.net/npm/vue-luck-draw/dist/vue-luck-draw.umd.min.js) | ||
- **指定版本:** [https://cdn.jsdelivr.net/npm/[email protected]/dist/vue-luck-draw.umd.min.js](https://cdn.jsdelivr.net/npm/[email protected]/dist/vue-luck-draw.umd.min.js) | ||
|
||
<span></span> | ||
|
||
- **vue3.x:** | ||
- **最新版本:** [https://cdn.jsdelivr.net/npm/vue-luck-draw/vue3/vue-luck-draw.umd.min.js](https://cdn.jsdelivr.net/npm/vue-luck-draw/vue3/vue-luck-draw.umd.min.js) | ||
- **指定版本:** [https://cdn.jsdelivr.net/npm/[email protected]/vue3/vue-luck-draw.umd.min.js](https://cdn.jsdelivr.net/npm/[email protected]/vue3/vue-luck-draw.umd.min.js) | ||
|
||
- vue2.x:[https://github.com/buuing/vue-luck-draw/tree/master/dist](https://github.com/buuing/vue-luck-draw/tree/master/dist) | ||
- vue3.x:[https://github.com/buuing/vue-luck-draw/tree/master/vue3](https://github.com/buuing/vue-luck-draw/tree/master/vue3) | ||
|
||
```html | ||
<div id="app"> | ||
|