Static GitHub Issues

[3001] Duplicated behavior in socket example

prev: Redirect absolute url in middleware
next: Get component's options in plugin by routeRecord failed

The following code parts share some behavior. https://github.com/nuxt/nuxt.js/blob/dev/examples/with-sockets/server.js#L26 https://github.com/nuxt/nuxt.js/blob/dev/examples/with-sockets/io/index.js#L15

IMHO the module part is not required anymore and can be removed.

Thanks

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This feature request is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2600">#c2600</a>)</em></sub></div>