Front-End GraphQL Client 接入库
import { Lens } from '../dest/index';
const lens = new Lens('you want to request GraphQL Uri');
lens.req('request json').then((result:string)=>{
console.log(result);
})
- [X] 代码实现
- [X] 集成封装
- [ ] 功能调试
使用apollo作为前端接入框架,对其封装后供前端使用。