Results 3 comments of Harry

如何解决的?能否写出来?我也遇到同样的问题了。多谢!

我也搞定了,内容是这样的: config.devServer = { proxy: { '/api': { target: 'http://127.0.0.1:8050' } } }