왼쪽메뉴에 어드민 메뉴의 트리구조 리스트 api 값을 사용하도록 기능 추가
This commit is contained in:
@@ -1,16 +1,11 @@
|
||||
import React from 'react'
|
||||
|
||||
const Dashboard = React.lazy(() => import('src/views/dashboard/Dashboard'))
|
||||
const Colors = React.lazy(() => import('src/views/theme/colors/Colors'))
|
||||
const Typography = React.lazy(() => import('src/views/theme/typography/Typography'))
|
||||
const AdminMenuManagement = React.lazy(() => import('src/views/admin/AdminMenuManagement'))
|
||||
|
||||
const routes = [
|
||||
{ path: '/', exact: true, name: 'Home' },
|
||||
{ path: '/dashboard', name: 'Dashboard', element: Dashboard },
|
||||
{ path: '/theme', name: 'Theme', element: Colors, exact: true },
|
||||
{ path: '/theme/colors', name: 'Colors', element: Colors },
|
||||
{ path: '/theme/typography', name: 'Typography', element: Typography },
|
||||
{ path: '/admin/menu', name: 'Admin Menu Management', element: AdminMenuManagement },
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user