added import of library to usage section

pull/31/head
Sumit Kumar 8 years ago committed by GitHub
parent 2f17ac9a17
commit 4b7ec2f83e

@ -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