import loadable from '@loadable/component'
import { HeaderLeftMode } from '@store/modules/layout/types'
import type { Routes } from '@router/types/index'

const <%- fileName %>: Routes = [
  {
    path: '/<%- filename %>',
    name: '<%- fileName %>',
    component: loadable(() => import('@views/<%- filename %>/index')),
    exact: true,
    meta: {
      header: {
        showHeader: true,
        leftMode: HeaderLeftMode.BACK_AND_MUNU,
      },
    },
  },
]

export default <%- fileName %>
