Nuxt/examples/with-sockets
Clark Du b11e9c0e51
feat: upgrade eslint to 5.x (#3494)
- [ ] babel-eslint https://github.com/babel/babel-eslint/issues/664
- [x] eslint-config-standard-jsx https://github.com/standard/eslint-config-standard-jsx/issues/32
- [x] eslint-config-standard to be stable release https://github.com/standard/eslint-config-standard/issues/123
- [x] eslint-plugin-html
- [x] eslint-plugin-import
- [x] eslint-plugin-jest
- [x] eslint-plugin-node
- [x] eslint-plugin-promise
- [x] eslint-plugin-standard https://github.com/standard/eslint-plugin-standard/issues/29
- [x] eslint-plugin-vue https://github.com/vuejs/eslint-plugin-vue/pull/504
- [x] eslint-plugin-react https://github.com/yannickcr/eslint-plugin-react/releases/tag/v7.10.0
2018-08-31 21:34:12 +01:00
..
io eslint: Prefer const over let (#3650) 2018-08-08 12:54:05 +02:00
pages feat: upgrade eslint to 5.x (#3494) 2018-08-31 21:34:12 +01:00
plugins Start refactoring sockets example 2017-07-10 09:03:18 +02:00
nuxt.config.js feat: rewrite core to esm 2018-03-16 19:42:06 +03:30
package.json refactor: rename examples 2018-03-19 10:41:46 +08:00
README.md examples: Add info for with-sockets (#3691) 2018-08-11 18:10:43 +01:00
server.js eslint: Prefer const over let (#3650) 2018-08-08 12:54:05 +02: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 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