From 68c5a0b7e903a464262a819724dc8d06a5bacff8 Mon Sep 17 00:00:00 2001 From: eevabec <evan.bechtol@ericsson.com> Date: Wed, 6 Mar 2019 10:50:55 -0600 Subject: [PATCH] Update README.MD - Add options example using connection string --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2e8dc9f..be087a0 100644 --- a/README.md +++ b/README.md @@ -59,12 +59,12 @@ import store from './store' import App from './App.vue' import VueSocketIO from 'vue-socket.io' +const options = { path: '/my-app/' }; //Options object to pass into SocketIO + Vue.use( new VueSocketIO({ debug: true, - connection: SocketIO('http://metinseylan.com:1992', { - path: '/my-app/' - }), + connection: SocketIO('http://metinseylan.com:1992', options), //options object is Optional vuex: { store, actionPrefix: "SOCKET_",