Introduction

npmnpmgitlabgitlabnpm

Nuxt Socket.io -- socket.io client and server module for Nuxt

Features

  • Configuration of multiple IO sockets
  • Configuration of per-socket namespaces
  • Automatic IO Server Registration
  • Socket IO Status
  • Automatic Error Handling
  • Debug logging, enabled with localStorage item 'debug' set to 'nuxt-socket-io'
  • Automatic Teardown, enabled by default
  • $nuxtSocket vuex module and socket persistence in vuex
  • Support for dynamic APIs using the KISS API format

Enjoy light and dark mode:

Demo

Several demos can be found here

These docs will attempt to explain and be in sync with the examples shown there.

Online playground

Play with the code sandbox as you read the docs.