@bbb324/egg-plugin

egg 的一款插件

Usage no npm install needed!

<script type="module">
  import bbb324EggPlugin from 'https://cdn.skypack.dev/@bbb324/egg-plugin';
</script>

README

egg-egg-myPlugin

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

Install

$ npm i egg-egg-myPlugin --save

Usage

// {app_root}/config/plugin.js
exports.eggMyPlugin = {
  enable: true,
  package: 'egg-egg-myPlugin',
};

Configuration

// {app_root}/config/config.default.js
exports.eggMyPlugin = {
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT