Blame view

src/router/routes/modules/demo/feat.ts 2.81 KB
陈文彬 authored
1
2
3
4
import type { AppRouteModule } from '/@/router/types';

import { PAGE_LAYOUT_COMPONENT } from '/@/router/constant';
5
const feat: AppRouteModule = {
陈文彬 authored
6
7
8
9
  layout: {
    path: '/feat',
    name: 'FeatDemo',
    component: PAGE_LAYOUT_COMPONENT,
10
    redirect: '/feat/icon',
陈文彬 authored
11
    meta: {
nebv authored
12
      icon: 'ic:outline-featured-play-list',
vben authored
13
      title: 'routes.demo.feat.feat',
陈文彬 authored
14
15
16
17
18
    },
  },

  routes: [
    {
vben authored
19
20
      path: '/icon',
      name: 'IconDemo',
21
      component: () => import('/@/views/demo/feat/icon/index.vue'),
vben authored
22
      meta: {
vben authored
23
        title: 'routes.demo.feat.icon',
vben authored
24
25
26
      },
    },
    {
27
28
29
30
      path: '/tabs',
      name: 'TabsDemo',
      component: () => import('/@/views/demo/feat/tabs/index.vue'),
      meta: {
vben authored
31
        title: 'routes.demo.feat.tabs',
32
33
34
35
      },
    },

    {
陈文彬 authored
36
37
38
39
      path: '/context-menu',
      name: 'ContextMenuDemo',
      component: () => import('/@/views/demo/feat/context-menu/index.vue'),
      meta: {
vben authored
40
        title: 'routes.demo.feat.contextMenu',
陈文彬 authored
41
42
43
      },
    },
    {
vben authored
44
45
46
47
      path: '/download',
      name: 'DownLoadDemo',
      component: () => import('/@/views/demo/feat/download/index.vue'),
      meta: {
vben authored
48
        title: 'routes.demo.feat.download',
vben authored
49
50
51
      },
    },
    {
vben authored
52
53
      path: '/click-out-side',
      name: 'ClickOutSideDemo',
54
      component: () => import('/@/views/demo/feat/click-out-side/index.vue'),
vben authored
55
      meta: {
vben authored
56
        title: 'routes.demo.feat.clickOutSide',
vben authored
57
58
59
      },
    },
    {
陈文彬 authored
60
61
62
63
      path: '/img-preview',
      name: 'ImgPreview',
      component: () => import('/@/views/demo/feat/img-preview/index.vue'),
      meta: {
vben authored
64
        title: 'routes.demo.feat.imgPreview',
陈文彬 authored
65
66
67
68
69
70
71
      },
    },
    {
      path: '/copy',
      name: 'CopyDemo',
      component: () => import('/@/views/demo/feat/copy/index.vue'),
      meta: {
vben authored
72
        title: 'routes.demo.feat.copy',
陈文彬 authored
73
74
75
76
77
78
79
      },
    },
    {
      path: '/msg',
      name: 'MsgDemo',
      component: () => import('/@/views/demo/feat/msg/index.vue'),
      meta: {
vben authored
80
        title: 'routes.demo.feat.msg',
陈文彬 authored
81
82
83
84
85
86
87
      },
    },
    {
      path: '/watermark',
      name: 'WatermarkDemo',
      component: () => import('/@/views/demo/feat/watermark/index.vue'),
      meta: {
vben authored
88
        title: 'routes.demo.feat.watermark',
陈文彬 authored
89
90
91
92
93
94
95
      },
    },
    {
      path: '/full-screen',
      name: 'FullScreenDemo',
      component: () => import('/@/views/demo/feat/full-screen/index.vue'),
      meta: {
vben authored
96
        title: 'routes.demo.feat.fullScreen',
陈文彬 authored
97
98
      },
    },
vben authored
99
    {
vben authored
100
101
102
103
      path: '/error-log',
      name: 'ErrorLog',
      component: () => import('/@/views/sys/error-log/index.vue'),
      meta: {
vben authored
104
        title: 'routes.demo.feat.errorLog',
vben authored
105
106
107
      },
    },
    {
vben authored
108
109
110
111
      path: '/testTab/:id',
      name: 'TestTab',
      component: () => import('/@/views/demo/feat/tab-params/index.vue'),
      meta: {
vben authored
112
        title: 'routes.demo.feat.tab',
113
        carryParam: true,
vben authored
114
115
      },
    },
陈文彬 authored
116
  ],
117
118
119
};

export default feat;