Nuxt/examples/with-sockets/README.md

10 lines
475 B
Markdown
Raw Normal View History

2017-01-18 16:25:06 +00:00
# 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