import type { RouteRecordRaw } from 'vue-router'
import login_c from './index.vue'
import init_c from './init.vue'

const routes: RouteRecordRaw[] = [
  {
    name: 'login',
    path: 'login',
    // component: () => import('./index.vue'),
    component: login_c,
    meta: { title: '登录', isPublic: true },
  },
  {
    name: 'init',
    path: 'init',
    // component: () => import('./init.vue'),
    component: init_c,
    meta: { title: '初始化' },
  },
]

export default routes
