fork from bc4552c5a8
This commit is contained in:
12
exts/yapi-plugin-wiki/client.js
Normal file
12
exts/yapi-plugin-wiki/client.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import WikiPage from './wikiPage/index';
|
||||
// const WikiPage = require('./wikiPage/index')
|
||||
|
||||
module.exports = function() {
|
||||
this.bindHook('sub_nav', function(app) {
|
||||
app.wiki = {
|
||||
name: 'Wiki',
|
||||
path: '/project/:id/wiki',
|
||||
component: WikiPage
|
||||
};
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user