added websocket test code
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user