项目本地运行时可以用 npm install npm start 如果没有后端接口,需要先全局安装json-server, 在本地模拟服务启动需要到public下启动(有一个db.json) json-server --watch .\db.json --port 5001