[Vuejs]-Vue CLI 3.5.5 standard install showing webpack websocket errors

0👍

So the solution i found was to create a vue.config.js file at the root level of the project and use this webpack config:

module.exports = {
 devServer: {
 host: "0.0.0.0",
 public: "0.0.0.0:8080",
 disableHostCheck: true,
 proxy: {
   "/app": {
     target: "http://localhost:8081",
     changeOrigin: true,
     ws: true
     }
   }
 }
};

Leave a comment