完善
Former-commit-id: 98a459c4e885b792c11f1e73d63df90292c68c3d [formerly 98a459c4e885b792c11f1e73d63df90292c68c3d [formerly 98a459c4e885b792c11f1e73d63df90292c68c3d [formerly 98a459c4e885b792c11f1e73d63df90292c68c3d [formerly 51eaa80fa9bb33bd4dc1b6a5851b6351f6d4a9a9 [formerly 9a7efd3db60366cd8ead383ce061a887f029509d]]]]] Former-commit-id: 73488faeba91a46d73471befd2074a3acf69ebc6 Former-commit-id: e62ae6f90d974ba2337aeaa342fbfc1a146aa818 Former-commit-id: 1b1b788db4d0b5a05328a443164cb99290f0ae20 [formerly 40395c0d06f0c418a905b16a563ce0b15bfa2a22] Former-commit-id: b51cb0e9c85def26253424d00fcbcd225a5e3d37 Former-commit-id: 467bd66bc6685dff6b057ed5d8191b17243efbb3 Former-commit-id: 514185199078e3e623f4e135408c6935ec45e494 Former-commit-id: 7f5767bfe8efb54511fd22d2be2e787e6a248e54 Former-commit-id: 59011c70629efa7ca0163b76af17e9f217783221
This commit is contained in:
67
src/menu/modules/demo-components.js
Normal file
67
src/menu/modules/demo-components.js
Normal file
@@ -0,0 +1,67 @@
|
||||
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/card`, title: '卡片' },
|
||||
{ path: `${pre}container/full`, title: '填满' },
|
||||
{ path: `${pre}container/full-bs`, title: '填满 滚动优化' },
|
||||
{ path: `${pre}container/ghost`, title: '隐形' },
|
||||
{ path: `${pre}container/ghost-header`, 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/')
|
||||
}
|
||||
Reference in New Issue
Block a user