This website requires JavaScript.
Explore
Help
Sign In
Zengtudor
/
Nuxt
Watch
1
Star
0
Fork
0
You've already forked Nuxt
mirror of
https://github.com/nuxt/nuxt.git
synced
2024-11-27 16:12:12 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
4f6cd949a1
Nuxt
/
examples
/
with-sockets
/
plugins
/
socket.io.js
5 lines
95 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Add socket.io example
2017-01-18 16:25:06 +00:00
import
io
from
'socket.io-client'
Start refactoring sockets example
2017-07-10 07:03:18 +00:00
const
socket
=
io
(
process
.
env
.
WS
_URL
)
Add socket.io example
2017-01-18 16:25:06 +00:00
export
default
socket
Reference in New Issue
Copy Permalink