通过angular自身的代理转发功能 配置package.json 启动项目通过npm start启动,会自动启动代理服务npm start 转载于:https://www.cnblogs.com/reaf/p/11258366.html