Skip to content

Commit 6e890aa

Browse files
committed
(docs) add CDN import
1 parent 2219468 commit 6e890aa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ npm install --save vue-advanced-chat
7575

7676
# Using yarn
7777
yarn add vue-advanced-chat
78+
79+
# Using CDN
80+
<script src="https://cdn.jsdelivr.net/npm/vue-advanced-chat@2.0.4/dist/vue-advanced-chat.umd.js"></script>
7881
```
7982

8083
### Vue
@@ -117,6 +120,9 @@ Demo: https://github.com/antoine92190/vue-advanced-chat-sandbox/tree/angular
117120
import { register } from 'vue-advanced-chat'
118121
register()
119122

123+
// Or if you used CDN import
124+
// window['vue-advanced-chat'].register()
125+
120126
export default {
121127
data() {
122128
return {

0 commit comments

Comments
 (0)