Home

Issue: 866

How can I create public js and multiple components can include it

[issue link]

I want use websocket to creat a long connection in the public js ,when the router changed,the long connection can keep and nerver disconnect.

So,I need a public js not the component.How can I do it?

This question is available on Nuxt.js community (#c738)