16 lines
616 B
TypeScript
16 lines
616 B
TypeScript
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 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 },
|
|
]
|
|
|
|
export default routes
|