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?
Responsive ecommerce template built with Vue.js and Nuxt.js
Nuxt.js is a higher-level framework that builds on top of Vue. It simplifies the development of universal or single page Vue apps. Nuxt.js is not a server side framework. It runs on the servers. It renders the first page and after the first page is renderd, the Vue.js app takes over.