From 8874a37abdc3d108f13db58c63de9207fa196cbc Mon Sep 17 00:00:00 2001 From: Anatoly Tarnavsky Date: Sun, 17 May 2020 20:08:34 +0300 Subject: [PATCH] Update README.md I guess it was a typo, changed `send` => `sendObj` in store's action. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 84864f3..d9c48f7 100755 --- a/README.md +++ b/README.md @@ -168,7 +168,7 @@ export default new Vuex.Store({ actions: { sendMessage: function(context, message) { ..... - Vue.prototype.$socket.send(message) + Vue.prototype.$socket.sendObj(message) ..... } }