import { DEFAULT_ROUTE_NAME } from '../../constants';
import { AppRouteRecordRaw } from '../types';

const SYSTEM: AppRouteRecordRaw[] = [
  {
    path: '/workplace',
    name: DEFAULT_ROUTE_NAME,
    component: () => import('@/views/system/workplace/index.vue'),
    meta: {
      requiresAuth: true,
      title: '主系统',
    },
  },
  {
    path: '/comp-test',
    name: 'CompTest',
    component: () => import('@/views/system/comp-test/index.vue'),
    meta: {
      requiresAuth: false,
      title: '组件测试',
    },
  },
];

export default SYSTEM;
