2
0
mirror of https://github.com/tenrok/vue-native-websocket.git synced 2026-05-17 06:29:39 +03:00

Merge pull request #31 from codeofsumit/patch-1

added import of library to usage section
This commit is contained in:
Metin Seylan
2017-02-06 09:06:05 +02:00
committed by GitHub
+1
View File
@@ -18,6 +18,7 @@ npm install vue-socket.io --save
#### Configuration
Automatic socket connection from an URL string
``` js
import VueSocketio from 'vue-socket.io';
Vue.use(VueSocketio, 'http://socketserver.com:1923');
```