How to inject Websocket Client(separate js) into Nuxt for two components

后端 未结 0 1210
太阳男子
太阳男子 2021-01-24 03:13

I have a component Chat where implemented logic to create WS Client, subscription to some url, message sending etc. Now I would like to reuse same piece of code in another compo

相关标签:
回答
  • 消灭零回复
提交回复
热议问题