const groupBuy = require('./groupBuy');
export default [
  {
    path: '/',
    redirect: '/error'
  },
  ...groupBuy,
  {
    path: '/error',
    name: 'error',
    meta: {
      title: '出错了'
    },
    component: () => import('../components/error')
  },
  {
    path: '*',
    name: 'notFound',
    meta: {
      title: '找不到页面'
    },
    component: () => import('../components/error/NotFound')
  }
];
