feat: 增加d2-crud-plus示例

This commit is contained in:
xiaojunnuo@126.com
2020-08-31 21:22:59 +08:00
parent 5bdf913cd4
commit 8e7d7501a5
26 changed files with 1496 additions and 4 deletions

View File

@@ -12,6 +12,8 @@ import demoPlayground from './modules/demo-playground'
import demoBusiness from './modules/demo-business'
// CRUD
import demoD2Crud from './modules/demo-d2-crud'
// CRUD PLUS
import demoD2CrudPlus from './modules/demo-d2-crud-plus'
// 第三方网页
import demoFrame from './modules/demo-frame'
@@ -38,6 +40,7 @@ export const menuAside = supplementPath([
demoPlayground,
demoBusiness,
demoD2Crud,
demoD2CrudPlus,
demoFrame
])
@@ -53,6 +56,7 @@ export const menuHeader = supplementPath([
icon: 'puzzle-piece',
children: [
demoD2Crud,
demoD2CrudPlus,
demoComponents,
demoCharts,
demoPlugins,

View File

@@ -0,0 +1,32 @@
import '@/views/demo/d2-crud-plus/install'
export default {
path: '/demo/d2-crud-plus',
title: 'D2 CRUD PLUS',
iconSvg: 'd2-crud-plus',
children: (pre => [
{ path: `${pre}index`, title: 'D2 CRUD PLUS', icon: 'home' },
{
title: '简单示例',
path: `${pre}demo`
},
{
title: '表单分组',
path: `${pre}group`
},
{
title: '综合示例',
path: `${pre}synthesize`
},
{
title: '更多示例',
icon: 'link',
path: 'http://qiniu.veryreader.com/D2CrudPlusExample/'
},
{
title: '帮助文档',
icon: 'link',
path: 'http://greper.gitee.io/d2-crud-plus/'
}
])('/demo/d2-crud-plus/')
}