mirror of
https://github.com/MetinSeylan/Vue-Socket.io.git
synced 2025-04-16 15:21:28 +02:00
Update README.MD
- Add options example using connection string
This commit is contained in:
parent
3fb67d42bc
commit
079d8aef6e
1 changed files with 2 additions and 1 deletions
|
@ -41,7 +41,8 @@ Vue.use(new VueSocketIO({
|
||||||
store,
|
store,
|
||||||
actionPrefix: 'SOCKET_',
|
actionPrefix: 'SOCKET_',
|
||||||
mutationPrefix: 'SOCKET_'
|
mutationPrefix: 'SOCKET_'
|
||||||
}
|
},
|
||||||
|
options: { path: "/my-app/" } //Optional options
|
||||||
}))
|
}))
|
||||||
|
|
||||||
new Vue({
|
new Vue({
|
||||||
|
|
Loading…
Add table
Reference in a new issue