March 2018
Beginner to intermediate
344 pages
7h 7m
English
To capture a client connection, we need to install the Socket.io into our Vue application. We'll also be using another dependency named vue-socket.io, which provides us with a smoother implementation within our Vue applications.
Run the following in your Terminal, ensuring you're in the root directory (that is, not in the server folder):
# Install socket.io-client and vue-socket.io$ npm install socket.io-client vue-socket.io --save
Read now
Unlock full access