import { lazyLoadView } from '@utils/lazyloadview';

export default function createRoute({
  path,
  icon,
  label,
  order,
  scopes,
}) {
  return {
    name: 'archive',
    component: () => lazyLoadView(import('@/recruits/components/archive')),
    path,
    meta: {
      icon,
      label,
      place: 'drawer',
      order,
      scopes,
    },
  };
}
