import {RouteName} from "../../lib/router"

export const routes = [
  // {
  //   path: "/login",
  //   name: RouteName.login,
  //   component: () => import('../views/login.vue'),
  //   meta:{
  //     authDisable: true
  //   }
  // },
  // web
  {
    path: '/',
    name: RouteName.index,
    component: () => import('../views/kit-layout-admin-horizon.vue'),
    props: {menuWith:'40%'},
    meta:{
      menu: true,
      authDisable: true
    },
    children: [
      {
        path: "/index",
        name: "receive-stats",
        component: () => import("../views/index/home-page.vue"),
        meta: {
          menuTitle: "首页",
          menuIcon: "fee",
        },
      },
      {
        path: "/protocol",
        name: "protocol",
        component: () => import("../views/protocol/protocol.vue"),
        meta: {
          menuTitle: "协议",
          menuIcon: "fee",
        },
      },
      // {
      //   path: "/device",
      //   name: "device",
      //   component: () => import("../views/device/device.vue"),
      //   meta: {
      //     menuTitle: "模拟设备",
      //     menuIcon: "fee",
      //   }
      // },

    ],
  },
]
