I am using vue-cli webpack-simple template to generate my projects, and I\'d like to proxy requests to a separate, backend server. How can this be easi
vue-cli
webpack-simple
module.exports = { devServer: { proxy: { '/api': { target: 'http://genius.net', changeOrigin: true, pathRewrite: { '^/api': '' } }, '/auth': { target: 'http://genius23.net', changeOrigin: true, pathRewrite: { '^/auth': '' } }, } } };