Update README.md (#241)

It seems that `import SocketIO from "socket.io-client"` is missing from the examples.
pull/242/head
dailing 4 years ago committed by GitHub
parent 4fba4071f7
commit 45860773e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -33,6 +33,7 @@ import Vue from 'vue'
import store from './store'
import App from './App.vue'
import VueSocketIO from 'vue-socket.io'
import SocketIO from "socket.io-client"
Vue.use(new VueSocketIO({
debug: true,
@ -58,6 +59,7 @@ import Vue from 'vue'
import store from './store'
import App from './App.vue'
import VueSocketIO from 'vue-socket.io'
import SocketIO from "socket.io-client"
const options = { path: '/my-app/' }; //Options object to pass into SocketIO

Loading…
Cancel
Save