A KoAJAX adapter for mini-app HTTP requests.
npm i koajax koajax-taro-adapter Copy
npm i koajax koajax-taro-adapter
import { HTTPClient } from 'koajax';import { request } from 'koajax-taro-adapter';export const client = new HTTPClient({ baseRequest: request }); Copy
import { HTTPClient } from 'koajax';import { request } from 'koajax-taro-adapter';export const client = new HTTPClient({ baseRequest: request });