@fuse-oo/cli
Version:
fuse内部脚手架工具
29 lines (25 loc) • 704 B
JavaScript
/** When your routing table is too long, you can split it into small modules **/
import Layout from '@/layout'
const {{lowerName}}Router = {
path: '/{{lowerName}}',
component: Layout,
redirect: '/{{lowerName}}-list',
name: '{{upperName}}',
isCache: true,
meta: {
title: '{{upperName}}',
icon: 'table'
},
children: [
// {
// path: '/{{lowerName}}-list',
// isCache: true,
// component: () =>
// import('@/{{lowerName}}-sys/views/{{lowerName}}-list/index'),
// name: '{{lowerName}}-list',
// hidden: true,
// meta: { title: '{{upperName}} List', icon: 'dashboard', isCache: true }
// }
]
}
export default {{lowerName}}Router