Nuxt/examples/with-sockets/README.md
Alexander Lichter aa09a20ce8 examples: Add info for with-sockets (#3691)
* examples: Add info for with-sockets

* fix: typo
2018-08-11 18:10:43 +01:00

10 lines
475 B
Markdown

# 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`](./server.js) for setting up WS with your implementation
* In case you use Nuxt standalone, check out [`nuxt.config.js`](./nuxt.config.js) and the [io-module](./io/index.js)
* In both situations you should look into the [`index.vue`](./pages/index.vue) where sending and receiving messages is done