examples: Add info for with-sockets (#3691)

* examples: Add info for with-sockets

* fix: typo
This commit is contained in:
Alexander Lichter 2018-08-11 19:10:43 +02:00 committed by Clark Du
parent 1ec5cf7b1c
commit aa09a20ce8

View File

@ -1,3 +1,9 @@
# Nuxt.js with Socket.io
> Description coming soon
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