mirror of
https://github.com/MetinSeylan/Vue-Socket.io.git
synced 2025-04-16 15:21:28 +02:00
Update README.md
This commit is contained in:
parent
29ee0ea722
commit
4608340bb1
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ socket.io implemantation for vuejs
|
|||
``` js
|
||||
import VueSocketio from 'vue-socket.io'; // for ES6
|
||||
|
||||
// var VueSocketio require('vue-socket.io') // for commonjs
|
||||
// var VueSocketio = require('vue-socket.io') // for commonjs
|
||||
|
||||
Vue.use(VueSocketio, 'http://socketserver.com:1923'); // Automaticly socket connect from url string
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue