Skip to content

Commit fa59fb6

Browse files
committed
(docs) complete CDN import usage
1 parent 97e2133 commit fa59fb6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,13 @@ npm install lamejs --save
128128

129129
<script>
130130
export default {
131+
data() {
132+
return {
133+
rooms: [],
134+
messages: [],
135+
currentUserId: 1234
136+
}
137+
},
131138
mounted() {
132139
document.querySelector('vue-advanced-chat').currentUserId = this.currentUserId
133140
document.querySelector('vue-advanced-chat').rooms = this.rooms

0 commit comments

Comments
 (0)