Nuxt/examples/with-sockets/plugins/socket.io.js
2017-07-10 09:03:18 +02:00

5 lines
95 B
JavaScript

import io from 'socket.io-client'
const socket = io(process.env.WS_URL)
export default socket