mirror of
https://github.com/tenrok/vue-native-websocket.git
synced 2026-06-22 21:30:35 +03:00
Update README.md
This commit is contained in:
@@ -24,7 +24,7 @@ Vue.use(VueSocketio, 'http://socketserver.com:1923'); // Automaticly socket conn
|
|||||||
/*
|
/*
|
||||||
import socketio from 'socket.io-client';
|
import socketio from 'socket.io-client';
|
||||||
|
|
||||||
var ioInstance socketio('http://socketserver.com:1923');
|
var ioInstance = socketio('http://socketserver.com:1923');
|
||||||
|
|
||||||
Vue.use(VueSocketio, ioInstance); // bind custom socketio instance
|
Vue.use(VueSocketio, ioInstance); // bind custom socketio instance
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user