import type { RouteRecordRaw } from 'vue-router';

const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'lucide:database',
      order: 4,
      title: '知识库',
    },
    name: 'KnowledgeBase',
    path: '/knowledge-base',
    children: [
      {
        name: 'KnowledgeBaseList',
        path: '/knowledge-base',
        component: () => import('#/views/knowledge-base/index.vue'),
        meta: {
          title: '知识库管理',
        },
      },
    ],
  },
];

export default routes;
