export default [ { path: '/login', component: '@/pages/login/login', }, { path: '/register', routes: [ { path: '/register/supplier', component: '@/pages/register/supplier', }, { path: '/register/expert', component: '@/pages/register/expert', } ] }, { path: '/', component: '@/layouts/Index', routes: [ { path: '/', redirect: '/index', }, { name: 'index', path: '/index', component: '@/pages/index', }, { name: 'userManage', path: '/userManage', component: '@/pages/userManage/userManage', }, { name: 'downloadManage', path: '/downloadManage', component: '@/pages/downloadManage/downloadManage', }, { name: 'noticeManage', path: '/noticeManage', component: '@/pages/noticeManage/noticeManage', }, { name: 'policyManage', path: '/policyManage', component: '@/pages/policyManage/policyManage', }, { name: 'aboutManage', path: '/aboutManage', component: '@/pages/aboutManage/aboutManage', }, { name: 'helpManage', path: '/helpManage', component: '@/pages/helpManage/helpManage', }, { name: 'readQuestionManage', path: '/readQuestionManage', component: '@/pages/userQuestionManage/readQuestionManage', }, { name: 'unreadQuestionManage', path: '/unreadQuestionManage', component: '@/pages/userQuestionManage/unreadQuestionManage', }, { name: 'friendLinkCategory', path: '/friendLinkCategory', component: '@/pages/friendLinkManage/friendLinkCategory', }, { name: 'friendLinkManage', path: '/friendLinkManage', component: '@/pages/friendLinkManage/friendLinkManage', }, ] }, { exact: true, path: '/404', component: './404', } ];