import { type RouteRecordRaw } from 'vue-router'
import Layout from '@/layout/index.vue'
import Home from '@/views/home/home.vue'

export default [
  {
    path: '/',
    name: 'Root',
    meta: {
      rank: 1001,
      title: '',
    },
    component: Layout,
    redirect: '/home',
    children: [
      {
        path: '/home',
        name: 'Home',
        meta: {
          rank: 1001,
          title: '首页',
          icon: 'material-symbols:home-outline',
          belong: 'Home',
        },
        component: Home,
      },
    ],
  },
] as RouteRecordRaw[]
