mirror of
https://github.com/tenrok/vue-native-websocket.git
synced 2026-06-22 22:00:37 +03:00
@@ -15,6 +15,7 @@ socket.io implemantation for Vuejs 2.0 and 1.0
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
``` js
|
``` js
|
||||||
|
import Vue from 'vue';
|
||||||
import VueSocketio from 'vue-socket.io';
|
import VueSocketio from 'vue-socket.io';
|
||||||
|
|
||||||
Vue.use(VueSocketio, 'http://socketserver.com:1923'); // Automaticly socket connect from url string
|
Vue.use(VueSocketio, 'http://socketserver.com:1923'); // Automaticly socket connect from url string
|
||||||
|
|||||||
Reference in New Issue
Block a user