import type { RouteRecordRaw } from 'vue-router'
import app_c from './index.vue'
import link_c from './link.vue'

const routes: RouteRecordRaw = {
  path: 'app',
  children: [
    {
      name: 'app',
      path: '',
      // component: () => import('./index.vue'),
      component: app_c,
      meta: { title: '应用' },
    },
    {
      name: 'link',
      path: 'link',
      component: link_c,
      meta: { title: '外链' },
    },
  ],
}

export default routes
