const Layout = () => import('@/layout/index.vue');

export default [
    {
        path: '/login',
        name: 'Login',
        component: () => import('@/views/login/index.vue'),
        meta: {
            title: '登录',
            showLink: false,
            rank: 101,
        },
    },
    {
        path: '/redirect',
        component: Layout,
        meta: {
            title: '加载中...',
            showLink: false,
            rank: 102,
        },
        children: [
            {
                path: '/redirect/:path(.*)',
                name: 'Redirect',
                component: () => import('@/layout/redirect.vue'),
            },
        ],
    },
    {
        path: '/screen',
        name: 'Screen',
        component: () => import('@/views/screen/index.vue'),
        meta: {
            title: '可视化大屏',
            showLink: false,
            rank: 103,
        },
    },
    {
        path: '/htmlToImg',
        name: 'HtmlToImg',
        component: () => import('@/views/utils/htmlToImg.vue'),
        meta: {
            title: 'HTML转图片',
            showLink: false,
            rank: 104,
        },
    },
] satisfies Array<RouteConfigsTable>;
