const LayoutDefault = () => import('@/components/Layout/default.vue')

const childrenRoutes: Array<RouteRecordRaw> = [
    {
        path: '/chat',
        component: LayoutDefault,
        meta: { requiresAuth: true },
        name: 'ChatRoot',
        redirect: {
            name: 'ChatIndex'
        },
        children: [
            {
                path: '',
                name: 'ChatIndex',
                component: () => import('@/views/chat.vue')
            }
        ]
    }
]

export default childrenRoutes
