vue-express-mongo-boilerplate icon indicating copy to clipboard operation
vue-express-mongo-boilerplate copied to clipboard

listen one more socket prefix in the vue component

Open phamtuanchip opened this issue 7 years ago • 1 comments

Hi ICEBOB, I am using your example but I have question in the vue ui component I would like to listen more than one socket prefix, how doses it come ? as I tryied

socket: { prefix: "/contacts/", events: { } }, socket: { prefix: "/messages/", events: { } } but it seems they are overrided

phamtuanchip avatar Sep 12 '18 11:09 phamtuanchip

Hi,

it doesn't work. You can use only one prefix.

icebob avatar Sep 12 '18 19:09 icebob