index.js
299 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
};