安装
npm install vue-socket.io --save
main引入
Vue.use(new VueSocketIO({
debug: true,
connection: 'http://localhost:5000',
vuex: {
}
}))
报错
安装
npm install vue-socket.io --save
main引入
Vue.use(new VueSocketIO({
debug: true,
connection: 'http://localhost:5000',
vuex: {
}
}))
报错