feat: 增加d2-crud-plus示例
This commit is contained in:
@@ -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,
|
||||
|
||||
32
src/menu/modules/demo-d2-crud-plus.js
Normal file
32
src/menu/modules/demo-d2-crud-plus.js
Normal 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/')
|
||||
}
|
||||
Reference in New Issue
Block a user