1.1.1 • Published 5 years ago

egg-yiren-tool v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

egg-yiren-tool

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-yiren-tool --save

Usage

// {app_root}/config/plugin.js
exports.yirenTool = {
  enable: true,
  package: 'egg-yiren-tool',
};

Example

  • 把 demo 中 general.js 文件加入到app/controller/admin/文件夹中
  • 把 demo 中 general.html 文件加入到app/view/文件夹中
  • 在 app/route.js 中,增加路由
  app.router.get('/admin/general/', 'admin.general.index');
  app.router.get('/admin/general/general', 'admin.general.generalFile');

Questions & Suggestions

注意:仅内部使用,不要外传

License

MIT

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago