fork from bc4552c5a8
This commit is contained in:
10
exts/yapi-plugin-test/client.js
Normal file
10
exts/yapi-plugin-test/client.js
Normal file
@@ -0,0 +1,10 @@
|
||||
function hander(routers) {
|
||||
routers.test = {
|
||||
name: 'test',
|
||||
component: ()=> 'hello world.'
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = function() {
|
||||
this.bindHook('sub_setting_nav', hander);
|
||||
};
|
||||
Reference in New Issue
Block a user