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

export default {
    path: '/template',
    name: 'Template',
    component: Layout,
    redirect: '/template/base',
    meta: {
        icon: 'ep:house',
        title: '模版页面',
        rank: 2,
    },
    children: [
        {
            path: '/template/base',
            name: 'TemplateBase',
            component: () => import('@/views/template/base/index.vue'),
            meta: {
                title: '基础模版',
            },
        },
        {
            path: '/template/layout',
            name: 'TemplateLayout',
            component: () => import('@/views/template/layout/index.vue'),
            meta: {
                title: '布局模版',
            },
        },
        {
            path: '/template/screen',
            name: 'TemplateScreen',
            component: () => import('@/views/template/screen/index.vue'),
            meta: {
                title: '大屏模版',
                frameSrc: 'TemplateScreen',
                keepAlive: true,
            },
        },
        {
            path: '/template/markdown',
            name: 'TemplateMarkdown',
            component: () => import('@/views/template/markdown/index.vue'),
            meta: {
                title: 'Markdown模版',
                keepAlive: true,
            },
        },
    ],
} satisfies RouteConfigsTable;
