const routes = [
  {
    path: '/',
    redirect: '/home',
  },
  {
    name: '首页',
    path: '/home',
    component: '../pages/home',
  },
  {
    path: '*',
    name: 'noPage',
    component: '404',
    layout: false,
  },
];

export default routes;
