dispatch.js 177 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 /** * 路由分发 * @author: xuqi<qi.xu@yoho.cn> * @date: 2016/4/27 */ module.exports = app => { // 组件 app.use('/component', require('./apps/component')); };