1.1.1 • Published 6 years ago

egg-yiren-tool v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 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

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago