Vue-Socket.io
Vue-Socket.io copied to clipboard
😻 Socket.io implementation for Vuejs and Vuex
ERROR in E:/works-web/ws1/src/main.ts(21,3): 21:3 Argument of type '{ debug: true; connection: string; vuex: { store: Store; actionPrefix: string; mutationPre fix: string; }; options: { path: string; transports: string[]; }; }'...
import VueSocketIOExt from 'vue-socket.io-extended'; import { io } from 'socket.io-client'; const socket = io('http://localhost:3200/'); const socket1 = io('http://localhost:3100/'); Vue.use(VueSocketIOExt, socket); Vue.use(VueSocketIOExt, socket1); I tried using the above code. But only...
Excuse me,I have found your npm package (dist/vue-socketio.js) not synchronized github(dist/vue-socketio.js),There is a paragraph about the judgment of the vue version is very important,please sync the npm package
Hello!! There are differences between NPM version 3.0.10 and Github source. Missing VUE version of the judgment code.
I have written a small component that listens to an event. This event is expected to receive two values: ```lang=js sockets: { my_listener(firstObject, secondObject) { console.log(firstObject); console.log(secondObject); } } ````...
我在electron上使用,想建立两个应用的sockio通讯。但是遇到了如下错误:  似乎每发一些消息就会报错,然后断线,重连之后重复如此。 我的node版本是:v16.13.0 , "vue-socket.io": "^3.0.10", "socket.io": "4.4.0", "socket.io-client": "4.4.0", "electron": "^13.0.0",
It would be great to add documentation on how implement Vue-Socket.io with VueJS 3 composition API.
Nuxt application compiler is throwing the following error: ``` ERROR ERROR in /node_modules/vue-socket.io/index.d.ts(1,28): 1:28 Could not find a declaration file for module 'socket.io-client'. '/node_modules/vue-socket.io/node_modules/socket.io-client/lib/index.js' implicitly has an 'any' type. Try...
How to add request header? I need take token for services to authentication
