38 lines
979 B
JavaScript
38 lines
979 B
JavaScript
|
|
import Layout from '@/layouts/index.vue';
|
||
|
|
|
||
|
|
export default [
|
||
|
|
{
|
||
|
|
path: '/demo',
|
||
|
|
name: 'demo',
|
||
|
|
component: Layout,
|
||
|
|
redirect: '/demo-table',
|
||
|
|
meta: { title: '案例管理', icon: 'icon-test' },
|
||
|
|
children: [
|
||
|
|
{
|
||
|
|
path: '/demo-table',
|
||
|
|
component: () => import('@/views/demo/table.vue'),
|
||
|
|
name: 'table',
|
||
|
|
meta: { title: '列表', icon: 'Document' },
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: '/demo-echart',
|
||
|
|
component: () => import('@/views/demo/echart.vue'),
|
||
|
|
name: 'echart',
|
||
|
|
meta: { title: '图表', icon: 'Document' },
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: '/demo-svg',
|
||
|
|
component: () => import('@/views/demo/svg.vue'),
|
||
|
|
name: 'svg',
|
||
|
|
meta: { title: 'svg图标', icon: 'Document' },
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: '/demo-editor',
|
||
|
|
component: () => import('@/views/demo/editor.vue'),
|
||
|
|
name: 'editor',
|
||
|
|
meta: { title: '富文本编辑器', icon: 'Document' },
|
||
|
|
},
|
||
|
|
],
|
||
|
|
},
|
||
|
|
];
|