使用代理,调用json-server的服务接口
想要获取json-server的服务接口

D:\workspace\xxx\config\index.js

proxyTable: {
'/api/': 'http://localhost:3000'
},
这部分忽略掉。。
jsonApiServer.use('api', jsonApiRouter)
控制台调试 node D:\workspace\xxx\build\dev-server.js


https://github.com/typicode/json-server

浙公网安备 33010602011771号