export default [ // { // path: '/', // component: '@/pages/Home', // name: '首页', // }, { path: '/hours', name: '小时榜', component: '../layouts/BasicLayout', routes: [ { path: '/hours/now', title:' 当前小时榜', component: '../pages/HoursRanks/NowRanks', }, { path: '/hours/before', title:' 上一小时榜', component: '../pages/HoursRanks/BeforeRanks', }, ], }, { path: '/template', name: '模板', component: '../layouts/HalfScrnBasicLayout', routes: [ { path: '/template/message', name: '资讯', title: '资讯', component: '../pages/Template/Message', }, ], }, ];