egg-leaf
Setup mock server use leaf in Egg
Install
$ npm i egg-leaf -S
configuration
// {app_root}/config/plugin.jsexportsleaf = enable: true package: 'egg-leaf'; // {app_root}/config/config.local.jsexportsleaf = apiDir: api-docs1 // 接口文档目录 enable: true // 是否开启 mock 服务;