export default [
  {
    path: "/chat",
    file: "@chat/pages/index.vue",
    children: [
      {
        path: "",
        redirect: { name: "unReads" },
      },
      {
        path: "all/list",
        name: "all",
        file: "@chat/pages/Chat.vue",
        meta: {
          breadcrumb: "همه",
        },
      },
      {
        path: "privates/list",
        name: "privates",
        file: "@chat/pages/Chat.vue",
        meta: {
          breadcrumb: "خصوصی ها",
        },
      },
      {
        path: "groups/list",
        name: "groups",
        file: "@chat/pages/Chat.vue",

        meta: {
          breadcrumb: "گروه ها",
        },
      },
      {
        path: "lobbies/list",
        name: "lobbies",
        file: "@chat/pages/Chat.vue",

        meta: {
          breadcrumb: "تالارها",
        },
      },
      {
        path: "unreads/list",
        name: "unReads",
        file: "@chat/pages/Chat.vue",

        meta: {
          breadcrumb: "نخوانده",
        },
      },
      {
        path: "my-messages/list",
        name: "myMessages",
        file: "@chat/pages/Chat.vue",

        meta: {
          breadcrumb: "پیام های من",
        },
      },
    ],
  },
];
