const routes = [ { path: "/", name: "root", redirect: "/home" }, { path: "/home", name: "home", meta: { power: true }, component: () => import("../pages/Home.vue") }, { path: "/loginfo", name: "loginfo", component: () => import("../pages/Login.vue") }, { path: "/nonetwork:text?", name: "nonetwork", props: true, component: () => import("../pages/error/NoNetwork.vue") }, { path: "/noaccess/:text?", name: "noaccess", props: true, component: () => import("../pages/error/NoAccess.vue") }, { path: "/empty/:text?", name: "empty", props: true, component: () => import("../pages/error/NoData.vue") }, { path: "/deviceabnormal/:text?", name: "deviceabnormal", props: true, component: () => import("../pages/error/DeviceAbnormal.vue") }, { path: "/failed/:text?", name: "failed", props: true, component: () => import("../pages/error/Failed.vue") }, { path: "/500/:text?", name: "500", props: true, component: () => import("../pages/error/500.vue") }, { path: "/404", name: "404", component: () => import("../pages/error/404.vue") }, { path: "/:catchAll(.*)", redirect: "/404", hidden: true } ]; export default routes;