56 lines
1.1 KiB
JavaScript
56 lines
1.1 KiB
JavaScript
|
|
// 插件
|
||
|
|
import demoPlugins from './modules/demo-plugins'
|
||
|
|
// 组件
|
||
|
|
import demoComponents from './modules/demo-components'
|
||
|
|
// 组件
|
||
|
|
import demoCharts from './modules/demo-charts'
|
||
|
|
// 组件库
|
||
|
|
import demoElement from './modules/demo-element'
|
||
|
|
// 试验台
|
||
|
|
import demoPlayground from './modules/demo-playground'
|
||
|
|
|
||
|
|
// 菜单 侧边栏
|
||
|
|
export const side = [
|
||
|
|
demoPlugins,
|
||
|
|
demoComponents,
|
||
|
|
demoCharts,
|
||
|
|
demoElement,
|
||
|
|
demoPlayground
|
||
|
|
]
|
||
|
|
|
||
|
|
// 菜单 顶栏
|
||
|
|
export default [
|
||
|
|
{
|
||
|
|
path: '/index',
|
||
|
|
title: '首页',
|
||
|
|
icon: 'home'
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: '/demo',
|
||
|
|
title: '功能',
|
||
|
|
icon: 'puzzle-piece',
|
||
|
|
children: [
|
||
|
|
demoElement,
|
||
|
|
demoComponents,
|
||
|
|
demoCharts,
|
||
|
|
demoPlugins,
|
||
|
|
demoPlayground,
|
||
|
|
{
|
||
|
|
title: '空菜单演示',
|
||
|
|
icon: 'folder-o',
|
||
|
|
children: [
|
||
|
|
{
|
||
|
|
title: '正在开发 1',
|
||
|
|
children: [
|
||
|
|
{ title: '正在开发 1-1' },
|
||
|
|
{ title: '正在开发 1-2' }
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{ title: '正在开发 2' },
|
||
|
|
{ title: '正在开发 3' }
|
||
|
|
]
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
]
|