mirror of
https://github.com/YMFE/yapi.git
synced 2025-03-31 14:50:26 +08:00
13 lines
275 B
JavaScript
13 lines
275 B
JavaScript
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
|
|
};
|
|
});
|
|
};
|