1×
Become a member
to unlock all features
Autoplay

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

    expressExpress
    vueVue.js
    ^2.5.21

    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.