npm install http-proxy-middleware
我们这里面请求用的axios,在将axios安装一下
npm install axios
里面书写一下代码
这样 就能拿到请求的数据