Former-commit-id: e96addbacb729e06e71fa86f3eb63db9e9bf8f84 [formerly e96addbacb729e06e71fa86f3eb63db9e9bf8f84 [formerly e96addbacb729e06e71fa86f3eb63db9e9bf8f84 [formerly e96addbacb729e06e71fa86f3eb63db9e9bf8f84 [formerly fe9146418c1c38556f13fad95e5b216cd74a9782 [formerly 75063cec02b2aec66a4d8a0ea9aae1fbec340d9e]]]]] Former-commit-id: a68aedc7369f3e207bc4d86c384fc8fc3a9a6be1 Former-commit-id: 3cdc7f962385910980a24d403f7ac1fcbc32a5df Former-commit-id: 65016b9cadd4c806e73bc046620bc388167fdce4 [formerly f5c00437b3ab5268d76002b95f6c0f0adc75e725] Former-commit-id: 70ef82289c7f6ae819d0b72d7d146eb6467c3a86 Former-commit-id: 91c1cc1922a20b3caf726dc280667b9220fa6baf Former-commit-id: 8a6a20fd653b2eb742f44fb72a4816ae3d94a5fc Former-commit-id: cbfd1e31d60e133a76d178303e355afbf10f3824 Former-commit-id: 5f42fb99a217da4bb308319f6880e719896f4d03
72 lines
2.7 KiB
JavaScript
72 lines
2.7 KiB
JavaScript
export default {
|
|
path: '/demo/components',
|
|
title: '内置组件',
|
|
icon: 'puzzle-piece',
|
|
children: (pre => [
|
|
{ path: `${pre}index`, title: '扩展组件首页', icon: 'home' },
|
|
{
|
|
path: `${pre}container`,
|
|
title: '布局容器',
|
|
icon: 'window-restore',
|
|
children: [
|
|
{ path: `${pre}container/full`, title: '填充' },
|
|
{ path: `${pre}container/full-slot`, title: '填充 插槽' },
|
|
{ path: `${pre}container/full-bs`, title: '填充 滚动优化' },
|
|
{ path: `${pre}container/ghost`, title: '隐形' },
|
|
{ path: `${pre}container/ghost-slot`, title: '隐形 插槽' },
|
|
{ path: `${pre}container/ghost-bs`, title: '隐形 滚动优化' },
|
|
{ path: `${pre}container/card`, title: '卡片' },
|
|
{ path: `${pre}container/card-slot`, title: '卡片 插槽' },
|
|
{ path: `${pre}container/card-bs`, title: '卡片 滚动优化' }
|
|
]
|
|
},
|
|
{
|
|
path: `${pre}layout/grid`,
|
|
title: '高级布局',
|
|
icon: 'tasks',
|
|
children: [
|
|
{ path: `${pre}layout/grid`, title: '拖拽位置和大小' },
|
|
{ path: `${pre}layout/splitpane`, title: '区域划分' }
|
|
]
|
|
},
|
|
{
|
|
path: `${pre}icon`,
|
|
title: '图标',
|
|
icon: 'star',
|
|
children: [
|
|
{ path: `${pre}icon/icon`, title: '图标组件' },
|
|
{ path: `${pre}icon/list`, title: 'FontAwesome' },
|
|
{ path: `${pre}icon/select`, title: '图标选择器' },
|
|
{ path: `${pre}icon/svg`, title: 'SVG图标组件' }
|
|
]
|
|
},
|
|
{
|
|
path: `${pre}markdown`,
|
|
title: 'markdown 解析',
|
|
icon: 'file-text-o',
|
|
children: [
|
|
{ path: `${pre}markdown/source`, title: '指定资源' },
|
|
{ path: `${pre}markdown/url`, title: '异步加载文件' }
|
|
]
|
|
},
|
|
{
|
|
path: `${pre}contextmenu`,
|
|
title: '右键菜单',
|
|
icon: 'mouse-pointer',
|
|
children: [
|
|
{ path: `${pre}contextmenu/simple`, title: '基础' },
|
|
{ path: `${pre}contextmenu/divier`, title: '分割线' },
|
|
{ path: `${pre}contextmenu/group`, title: '按钮组' },
|
|
{ path: `${pre}contextmenu/submenu`, title: '子菜单' },
|
|
{ path: `${pre}contextmenu/disabled`, title: '禁用' },
|
|
{ path: `${pre}contextmenu/custom-trigger`, title: '自定义事件' }
|
|
]
|
|
},
|
|
{ path: `${pre}countup`, title: '数字动画', icon: 'motorcycle' },
|
|
{ path: `${pre}editor-quill`, title: '富文本编辑器', icon: 'pencil-square-o (edit, edit)' },
|
|
{ path: `${pre}editor-simpleMDE`, title: 'markdown编辑器', icon: 'font' },
|
|
{ path: `${pre}highlight`, title: '代码高亮显示', icon: 'code' },
|
|
{ path: `${pre}json-tree`, title: 'JSON 展示', icon: 'sitemap' }
|
|
])('/demo/components/')
|
|
}
|