21 lines
No EOL
491 B
TypeScript
21 lines
No EOL
491 B
TypeScript
import { lazyLoad } from '@/routers/helpers'
|
|
import { Route } from '@/routers/router'
|
|
import { lazy } from 'react'
|
|
|
|
|
|
export const routes: Route[] = [
|
|
{
|
|
path: 'coterms',
|
|
children: [
|
|
{
|
|
index: true,
|
|
element: lazyLoad(
|
|
lazy(
|
|
() =>
|
|
import('@/components/admin/coterms/CotermContainer')
|
|
)
|
|
),
|
|
},
|
|
],
|
|
},
|
|
] |