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: 'router_title_module.home',
          icon: 'material-symbols:home-outline',
          belong: 'Home',
        },
        component: Home,
      },
    ],
  },
] as RouteRecordRaw[]
