import { $t } from "@/plugins/i18n";
import { knowledgeBase } from "@/router/enums";

export default {
  path: "/knowledge-base",
  redirect: "/knowledge-base/index",
  meta: {
    icon: "ri:database-2-line",
    title: $t("menus.knowledgeBase") || "知识库",
    rank: knowledgeBase
  },
  children: [
    {
      path: "/knowledge-base/index",
      name: "KnowledgeBase",
      component: () => import("@/views/knowledge-base/index.vue"),
      meta: {
        title: $t("menus.knowledgeBase") || "知识库"
      }
    }
  ]
} satisfies RouteConfigsTable;
