A simple Vue.js v3 plugin for Socket.IO
npm install vue3-socket
import Vue3SocketIO from 'vue3-socket'
const app = createApp(App)
// options is optional
app.use(Vue3SocketIO, {
connection: 'http://localhost:8080',
options: {}
})
app.mount('#app')
The options
parameter is the standard client options which can be found at the link below.