Merge pull request #31 from codeofsumit/patch-1

added import of library to usage section
pull/28/merge
Metin Seylan 8 years ago committed by GitHub
commit 51f5a95014

@ -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');
```

Loading…
Cancel
Save