0.0.1 • Published 2 years ago

@yunflyjs/yunfly-plugin-response v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@yunflyjs/yunfly-plugin-response

yunfly response plugin.

Usage

  1. install
yarn add @yunflyjs/yunfly-plugin-response
  1. declare plugins in config/config.plugin.ts
/**
 * yunfly plugin
 */
const plugins: {[key:string]: string}[] = [
  {
    name: 'response',
    package: '@yunflyjs/yunfly-plugin-response'
  }
];
// 
export default plugins;
  1. enable plugins in config/config.default.ts
config.response = {
  enable: true,
}
0.0.1

2 years ago