index.js
352 Bytes
/**
* Created by TaoHuang on 2017/4/18.
*/
const createProduct = r => require.ensure([], () => r(require('./create')), 'product.create');
import childrenViews from './views';
export default {
path: '/create',
name: 'create',
component: createProduct,
children: childrenViews,
meta: {
pageName: '新增商品',
}
};