通用前端请求客户端
你可以借助 script 标签直接通过 CDN 来使用 http-client,在 HTML 页面的 中包含以下代码行
- https://unpkg.com/@jqsoft/http-client@0.3.0/dist/umd/http-client.min.js
- https://cdn.jsdelivr.net/npm/@jqsoft/http-client@0.3.0/dist/umd/http-client.min.js
<script src="https://unpkg.com/@jqsoft/http-client@0.3.0/dist/umd/http-client.min.js" />
- Using pnpm, run the following on a command line:
pnpm add @jqsoft/http-client
- Using Yarn, run the following on a command line:
yarn add @jqsoft/http-client
- Using npm, run the following on a command line:
npm install @jqsoft/http-client
- 安装依赖
pnpm i
- 开发
pnpm run dev
- 构建
pnpm run build
name | npm | 备注 |
---|---|---|
@ngify/http | ||
axios | ||
umi-request | ||
father | 文档 | |
jsonpath-plus |