# 安装
npm install destinyzxj
# 查看使用帮助
npm run destiny -h
具体使用方法请运行
npm run destiny -h
- 添加 Axios 支持
在项目 src/utils 文件夹下添加 Http.ts Api.ts Http.ts 对 axios 进行了封装。数据返回形式
{ code: 0, data: null, msg: 'message' }
Api.ts 在此文件中编写 API 接口函数
- 添加 Util 支持
在项目src/utils 文件夹下添加 Util.ts Util.ts 中默认有一些功能函数