You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shop-admin/src/router/demo.js

34 lines
924 B

export default [
{
path: '/demo',
name: 'Demo',
component: () => import('@/layouts/default.vue'),
meta: {
title: '组件示例',
icon: 'test-tube-fill',
layout: true,
},
children: [
{
path: 'icon',
name: 'IconDemo',
component: () => import('@/views/demo/iconDemo.vue'),
meta: {
title: '图标库',
icon: 'aliens-fill',
keepAlive: false,
},
},
{
path: 'sortable',
name: 'SortableTableDemo',
component: () => import('@/views/demo/sortableTableDemo.vue'),
meta: {
title: '拖拽排序',
icon: 'table-2',
},
},
],
},
];