Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

example with socket.io #65

Closed
Lahori-Jawan opened this issue Nov 18, 2017 · 0 comments
Closed

example with socket.io #65

Lahori-Jawan opened this issue Nov 18, 2017 · 0 comments

Comments

@Lahori-Jawan
Copy link

I wanted to use socket.io for real time but couldn't do it. here is what I did in create-app.js file...

import socketio from "socket.io-client"
import VueSocketIO from "vue-socket.io"
const SocketInstance = socketio("http://localhost:4000");
Vue.use(VueSocketIO, socketio("http://localhost:4000"));

but when i open localhost:4000 the console starts showing > Whole request: ...ms with infinite loop.
please help...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant