egg-typeorm
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![David deps][david-image]][david-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![npm download][download-image]][download-url]
[npm-image]: https://img.shields.io/npm/v/egg-ts-template.svg?style=flat-square
[npm-url]: https://npmjs.org/package/egg-ts-template
[travis-image]: https://img.shields.io/travis/eggjs/egg-ts-template.svg?style=flat-square
[travis-url]: https://travis-ci.org/eggjs/egg-ts-template
[codecov-image]: https://img.shields.io/codecov/c/github/eggjs/egg-ts-template.svg?style=flat-square
[codecov-url]: https://codecov.io/github/eggjs/egg-ts-template?branch=master
[david-image]: https://img.shields.io/david/eggjs/egg-ts-template.svg?style=flat-square
[david-url]: https://david-dm.org/eggjs/egg-ts-template
[snyk-image]: https://snyk.io/test/npm/egg-ts-template/badge.svg?style=flat-square
[snyk-url]: https://snyk.io/test/npm/egg-ts-template
[download-image]: https://img.shields.io/npm/dm/egg-ts-template.svg?style=flat-square
[download-url]: https://npmjs.org/package/egg-ts-template
依赖说明
$3
@diyaner/egg-typeorm 版本 | egg 3.x
--- | ---
1.x | 😁
0.x | ❌
$3
开启插件
``
js
// config/plugin.js
exports.typeorm = {
enable: true,
package: '@diyaner/egg-typeorm',
};
``
使用场景
- Why and What: 描述为什么会有这个插件,它主要在完成一件什么事情。
尽可能描述详细。
- How: 描述这个插件是怎样使用的,具体的示例代码,甚至提供一个完整的示例,并给出链接。
详细配置
请到
config/config.default.js 查看详细配置项说明。
单元测试
提问交流
请到
egg issues 异步交流。
License
MIT