export default [
  {
    path: '/user',
    layout: false,
    routes: [
      //   {
      //     path: '/user',
      //     routes: [
      //       {
      //         name: 'login',
      //         path: '/user/login',
      //         component: './user/Login',
      //       },
      //     ],
      //   },
      //   {
      //     component: './404',
      //   },
    ],
  },
  {
    path: '/login',
    name: 'login',
    component: './Login',
    layout: false,
  },
  {
    path: '/',
    component: '../layouts',
    routes: [
      {
        path: '/',
        redirect: '/Equipment',
      },
      {
        path: '/noAuth',
        component: './NoAuth',
      },
      {
        path: '/environment',
        name: 'environment',
        component: './Environment',
      },
      {
        path: '/equipment',
        name: 'equipment',
        component: './Equipment',
      },
      {
        path: '/runtime',
        name: 'runtime',
        component: './Runtime',
      },
      {
        path: '/runtime/recordList',
        name: 'recordList',
        component: './Runtime/RecordList',
      },
    ],
  },
];
