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/DeviceCommunication.vue"),
        meta: {
          menuTitle: "设备通信",
          menuIcon: "fee",
        }
      },

    ],
  },
]
