destinyzxj
TypeScript icon, indicating that this package has built-in type declarations

0.0.14 • Public • Published

ts 开发辅助程序

使用

# 安装
npm install destinyzxj
# 查看使用帮助
npm run destiny -h

功能介绍

具体使用方法请运行

npm run destiny -h
  1. 添加 Axios 支持

在项目 src/utils 文件夹下添加 Http.ts Api.ts Http.ts 对 axios 进行了封装。数据返回形式 { code: 0, data: null, msg: 'message' } Api.ts 在此文件中编写 API 接口函数

  1. 添加 Util 支持

在项目src/utils 文件夹下添加 Util.ts Util.ts 中默认有一些功能函数

Readme

Keywords

none

Package Sidebar

Install

npm i destinyzxj

Weekly Downloads

1

Version

0.0.14

License

ISC

Unpacked Size

117 kB

Total Files

7

Last publish

Collaborators

  • destiny_zxj