Use Socket.IO With Nuxt.js/Vue.js

For one of my recent Nuxt.js projects, I had to use Socket.IO to send the data from the server to the users in real-time without reloading the whole page. Initially, I was using Vue.js, but then the client insisted on implementing Nuxt.js for the server-side rendering purpose.

First, I used Axios as a middleware to send and receive HTTP requests. Axios is a great library to send and receive data without loading the whole page. It works great with Vue.js and Node.js. But the problem with Axios is that it only sends the response once with res.send or res.end method. If you try to send two or more times with these methods, then the app crashes.

Five Handy JavaScript Uploaders to Keep in Mind

Let these uploaders lend you a hand

Managing file uploads from both the client and server sides can turn into an utter nightmare. We have selected five JavaScript file uploading libraries to make your work life easier. Take a look at their features, advantages, and pricing plans to choose the one that fits best for your project.

Uppy

uppy demo