import type { RouteRecordRaw } from 'vue-router'
import AppLayout from '@/components/layout/Index.vue'

export const routes: Array<RouteRecordRaw> = [
  {
    path: '/resource/other',
    component: AppLayout,
    children: [
      { path: '', component: () => import('./views/List.vue') },
      { path: '/resource/other/update', component: () => import('./views/Update.vue') },
      { path: '/resource/other/view', component: () => import('./views/View.vue') }
      // { path: 'update/:id', component: () => import('./views/Update.vue'), props: true }
    ]
  }
]
