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

const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'lucide:message-square',
      order: 5,
      title: '即时通讯',
    },
    name: 'Chat',
    path: '/chat',
    children: [
      {
        name: 'ChatMain',
        path: '/chat',
        component: () => import('#/views/im/index.vue'),
        meta: {
          title: '聊天',
        },
      },
    ],
  },
];

export default routes;
