// 首页看板
import type { Route } from '@/global'

const Layout = () => import('@/layouts/index.vue')
const routes: Route.recordRaw[] = [
  {
    path: '/dashboard',
    component: Layout,
    redirect: '/dashboard/board',
    name: 'Dashboard',
    meta: {
      title: '首页看板',
      icon: 'ep:key',
      auth: '/dashboard',
    },
    children: [
      {
        path: 'board',
        name: 'board',
        component: () => import('@/views/dashboard/index.vue'),
        meta: {
          title: '首页看板',
          auth: '/dashboard',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/dashboard',
        },
      },
    ],
  },
]

export default routes
