Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
buuing authored Dec 20, 2020
1 parent 8ce18b5 commit 32843cc
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 32843cc

Please sign in to comment.