Nuxt/examples/with-sockets
2023-03-16 06:24:27 -07:00
..
io chore: lint error 2019-10-18 16:45:51 +01:00
pages chore(deps): update devdependency @nuxtjs/eslint-config to v5 (#8345) 2020-11-14 17:10:53 +00:00
plugins
nuxt.config.js examples(with-sockets): deprecated callback and use cjs (#7650) 2020-07-02 10:59:17 +02:00
package.json chore(examples): use 2.x version of nuxt instead of latest (#19737) 2023-03-16 06:24:27 -07:00
README.md refactor: use nuxt everywhere (#8210) 2020-11-30 23:44:04 +01:00
server.js refactor: use nuxt everywhere (#8210) 2020-11-30 23:44:04 +01:00

Nuxt with Socket.io

An example for Nuxt with WebSockets over Socket.io.

Socket.IO enables real-time, bidirectional and event-based communication. It works on every platform, browser or device, focusing equally on reliability and speed.

  • 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