import { DEFAULT_LAYOUT } from '../base';
import { HOME_PAGE_ROUTE } from '../../constants';
import { AppRouteRecordRaw } from '../types';

const HOME: AppRouteRecordRaw = {
  path: '/home',
  name: 'Home',
  component: DEFAULT_LAYOUT,
  children: [
    {
      path: '/home-page',
      name: HOME_PAGE_ROUTE,
      component: () => import('@/views/home/home-page/index.vue'),
      meta: {
        title: '首页',
        requiresAuth: true,
      },
    },
  ],
};

export default HOME;
