vue-vben-admin/src/router/routes/modules/demo/feat.ts

117 lines
2.7 KiB
TypeScript
Raw Normal View History

2020-09-28 20:19:10 +08:00
import type { AppRouteModule } from '/@/router/types';
2020-12-03 21:49:32 +08:00
import { LAYOUT } from '/@/router/constant';
2020-09-28 20:19:10 +08:00
2020-11-12 23:15:11 +08:00
const feat: AppRouteModule = {
2020-12-03 21:49:32 +08:00
path: '/feat',
name: 'FeatDemo',
component: LAYOUT,
redirect: '/feat/icon',
meta: {
icon: 'ic:outline-featured-play-list',
title: 'routes.demo.feat.feat',
2020-09-28 20:19:10 +08:00
},
2020-12-03 21:49:32 +08:00
children: [
2020-10-11 23:48:25 +08:00
{
2020-12-03 21:49:32 +08:00
path: 'icon',
2020-10-11 23:48:25 +08:00
name: 'IconDemo',
component: () => import('/@/views/demo/feat/icon/index.vue'),
2020-10-11 23:48:25 +08:00
meta: {
2020-11-26 21:10:21 +08:00
title: 'routes.demo.feat.icon',
2020-10-11 23:48:25 +08:00
},
},
2020-10-13 22:22:04 +08:00
{
2020-12-03 21:49:32 +08:00
path: 'tabs',
2020-10-13 22:22:04 +08:00
name: 'TabsDemo',
component: () => import('/@/views/demo/feat/tabs/index.vue'),
meta: {
2020-11-26 21:10:21 +08:00
title: 'routes.demo.feat.tabs',
2020-10-13 22:22:04 +08:00
},
},
2020-09-28 20:19:10 +08:00
{
2020-12-03 21:49:32 +08:00
path: 'context-menu',
2020-09-28 20:19:10 +08:00
name: 'ContextMenuDemo',
component: () => import('/@/views/demo/feat/context-menu/index.vue'),
meta: {
2020-11-26 21:10:21 +08:00
title: 'routes.demo.feat.contextMenu',
2020-09-28 20:19:10 +08:00
},
},
2020-11-13 00:55:25 +08:00
{
2020-12-03 21:49:32 +08:00
path: 'download',
2020-11-13 00:55:25 +08:00
name: 'DownLoadDemo',
component: () => import('/@/views/demo/feat/download/index.vue'),
meta: {
2020-11-26 21:10:21 +08:00
title: 'routes.demo.feat.download',
2020-11-13 00:55:25 +08:00
},
},
2020-10-11 23:48:25 +08:00
{
2020-12-03 21:49:32 +08:00
path: 'click-out-side',
2020-10-11 23:48:25 +08:00
name: 'ClickOutSideDemo',
component: () => import('/@/views/demo/feat/click-out-side/index.vue'),
2020-10-11 23:48:25 +08:00
meta: {
2020-11-26 21:10:21 +08:00
title: 'routes.demo.feat.clickOutSide',
2020-10-11 23:48:25 +08:00
},
},
2020-09-28 20:19:10 +08:00
{
2020-12-03 21:49:32 +08:00
path: 'img-preview',
2020-09-28 20:19:10 +08:00
name: 'ImgPreview',
component: () => import('/@/views/demo/feat/img-preview/index.vue'),
meta: {
2020-11-26 21:10:21 +08:00
title: 'routes.demo.feat.imgPreview',
2020-09-28 20:19:10 +08:00
},
},
{
2020-12-03 21:49:32 +08:00
path: 'copy',
2020-09-28 20:19:10 +08:00
name: 'CopyDemo',
component: () => import('/@/views/demo/feat/copy/index.vue'),
meta: {
2020-11-26 21:10:21 +08:00
title: 'routes.demo.feat.copy',
2020-09-28 20:19:10 +08:00
},
},
{
2020-12-03 21:49:32 +08:00
path: 'msg',
2020-09-28 20:19:10 +08:00
name: 'MsgDemo',
component: () => import('/@/views/demo/feat/msg/index.vue'),
meta: {
2020-11-26 21:10:21 +08:00
title: 'routes.demo.feat.msg',
2020-09-28 20:19:10 +08:00
},
},
{
2020-12-03 21:49:32 +08:00
path: 'watermark',
2020-09-28 20:19:10 +08:00
name: 'WatermarkDemo',
component: () => import('/@/views/demo/feat/watermark/index.vue'),
meta: {
2020-11-26 21:10:21 +08:00
title: 'routes.demo.feat.watermark',
2020-09-28 20:19:10 +08:00
},
},
{
2020-12-03 21:49:32 +08:00
path: 'full-screen',
2020-09-28 20:19:10 +08:00
name: 'FullScreenDemo',
component: () => import('/@/views/demo/feat/full-screen/index.vue'),
meta: {
2020-11-26 21:10:21 +08:00
title: 'routes.demo.feat.fullScreen',
2020-09-28 20:19:10 +08:00
},
},
2020-11-03 21:30:25 +08:00
{
2020-12-03 21:49:32 +08:00
path: 'error-log',
2020-11-03 21:30:25 +08:00
name: 'ErrorLog',
component: () => import('/@/views/sys/error-log/index.vue'),
meta: {
2020-11-26 21:10:21 +08:00
title: 'routes.demo.feat.errorLog',
2020-11-03 21:30:25 +08:00
},
},
2020-10-14 21:08:07 +08:00
{
2020-12-03 21:49:32 +08:00
path: 'testTab/:id',
2020-10-14 21:08:07 +08:00
name: 'TestTab',
component: () => import('/@/views/demo/feat/tab-params/index.vue'),
meta: {
2020-11-26 21:10:21 +08:00
title: 'routes.demo.feat.tab',
2020-10-14 22:08:56 +08:00
carryParam: true,
2020-10-14 21:08:07 +08:00
},
},
2020-09-28 20:19:10 +08:00
],
2020-11-12 23:15:11 +08:00
};
export default feat;