added websocket test code

This commit is contained in:
Tobias Kurze
2019-10-30 11:55:20 +01:00
parent 546bc6f754
commit 5505e823c4
2 changed files with 11 additions and 7 deletions

View File

@@ -72,7 +72,9 @@ Vue.use(VueSweetalert2);
Vue.use(VeeValidate);
Vue.use(VueMoment);
const socket = io('ws://localhost:5000');
const socket = io('ws://localhost:5000',);
console.log(socket.nsp);
Vue.use(VueSocketIOExt, socket);