mirror of https://github.com/sunface/rust-course
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
396 B
19 lines
396 B
import React from 'react'
|
|
const A = React.lazy(() => import('../../../pages/Index/Demo/A'))
|
|
const B = React.lazy(() => import('../../../pages/Index/Demo/B'))
|
|
|
|
const Demo = [
|
|
{
|
|
path: '/a',
|
|
title: 'A',
|
|
icon: 'bar-chart',
|
|
component: A
|
|
},
|
|
{
|
|
path: '/b',
|
|
title: 'B',
|
|
icon: 'bar-chart',
|
|
component: B
|
|
}
|
|
]
|
|
export default Demo |