destinyzxj
v0.0.14
Published
destiny_zxj command tool
Downloads
16
Readme
ts 开发辅助程序
使用
# 安装
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 接口函数 2. 添加 Util 支持 在项目src/utils 文件夹下添加 Util.ts Util.ts 中默认有一些功能函数
