Update README.MD

- Add options example using connection string
This commit is contained in:
eevabec 2019-03-06 10:43:37 -06:00
parent 3fb67d42bc
commit 079d8aef6e

View file

@ -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({