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-12-04 19:37:18 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
4390b44814
Nuxt
/
examples
/
with-sockets
/
plugins
/
socket.io.js
5 lines
97 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'
Update example
2017-01-18 17:04:41 +00:00
const
socket
=
io
(
process
.
env
.
HOST
_URL
)
Add socket.io example
2017-01-18 16:25:06 +00:00
export
default
socket
Reference in New Issue
Copy Permalink