1. 在 angular 项目的根目录创建 proxy.config.json 文件

在这里插入图片描述

2. 配置 package.json 文件

在这里插入图片描述