Sending an Image from Express to a Vue Component using Socket.io

InstructorMark Barton

Share this video with your friends

Send Tweet

In this lesson we create a Quiz Vue component which displays a random image.

The random image is read from the Server filesystem and sent over the socket to each of the connected clients. The clients use the Quiz component to display the image in a modal window and then select an answer. The answer is then sent back to the server over the socket.