Proxy error: Could not proxy request / from localhost:8080 to to http://localhost:5000.
配置代理服务器时,一.改完vue.config.jsmodule.exports={pages:{index:{entry:'src/main.js',},},lintOnSave:false,devServer: {proxy: 'http://localhost:5000'}}这个后要 npm run serve重启。二.要保持5000这个服务器开启,不要关闭。...
·
所有评论(0)