Nuxt.js + Socket.io


I was looking into how to use socket.io with Nuxt and came across this: https://github.com/nuxt/nuxt.js/tree/master/examples/with-sockets

Can someone explain why the io module is creating a socketio server? All the socketio configuration is also being done in server.js already so isn’t that part of the io module redundant?

#nuxt-js

66.40 GEEK