mirror of
https://github.com/tenrok/vue-native-websocket.git
synced 2026-05-17 06:09:39 +03:00
Update README.md
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user