xuyunhui 4f80a196d6 feat: 图表数据动态显示 hai 5 meses
..
api e32a858262 chore: 更新代码风格配置 hai 5 meses
.prettierignore 870a07b49e chore: 框架完善 hai 5 meses
mm.config.js 4f80a196d6 feat: 图表数据动态显示 hai 5 meses
package.json 870a07b49e chore: 框架完善 hai 5 meses
readme.md 870a07b49e chore: 框架完善 hai 5 meses
util.js e32a858262 chore: 更新代码风格配置 hai 5 meses

readme.md

说明

此目录是运行命令 mm --template 之后生成的 mockm 常用配置, 该命令做了以下事情:

在运行目录的 package.json 的 scripts 中添加命令 "mm": "npx mockm --cwd=mm", 如果没有 package.json 文件, 会自动创建.

创建名为 mm 的目录, 文件说明如下, 如果存在则不覆盖:

mm/
  - api/ -- 手动创建的 api
  - util.js -- 一些公用方法
  - mm.config.js -- mockm 的配置文件

参考