Skip to content

yunke-yunfly/yunfly-plugin-response

Repository files navigation

@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,
}

Packages

 
 
 

Contributors