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
5 years ago
|
import React from 'react'
|
||
5 years ago
|
const A = React.lazy(() => import('../../../pages/Index/Demo/A'))
|
||
|
const B = React.lazy(() => import('../../../pages/Index/Demo/B'))
|
||
5 years ago
|
|
||
|
const Demo = [
|
||
|
{
|
||
|
path: '/a',
|
||
|
title: 'A',
|
||
|
icon: 'bar-chart',
|
||
|
component: A
|
||
|
},
|
||
|
{
|
||
|
path: '/b',
|
||
|
title: 'B',
|
||
|
icon: 'bar-chart',
|
||
|
component: B
|
||
|
}
|
||
|
]
|
||
|
export default Demo
|