Nuxt/examples/with-sockets
2018-11-24 22:19:19 +03:30
..
io
pages refactor: use PascalCase for components names (#4396) 2018-11-24 22:19:19 +03:30
plugins
nuxt.config.js
package.json
README.md
server.js

Nuxt.js with Socket.io

An example for Nuxt.js with WebSockets over Sockets.io.

  • Do you use Nuxt programmatically (eg. with Express or Koa)? Take a look into server.js for setting up WS with your implementation

  • In case you use Nuxt standalone, check out nuxt.config.js and the io-module

  • In both situations you should look into the index.vue where sending and receiving messages is done