1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
| import { DEFAULT_LAYOUT } from '../base';
| import { AppRouteRecordRaw } from '../types';
|
| const LIST: AppRouteRecordRaw = {
| path: '/list',
| name: 'list',
| component: DEFAULT_LAYOUT,
| meta: {
| locale: 'menu.list',
| requiresAuth: true,
| icon: 'icon-list',
| order: 2,
| },
| children: [
| {
| path: 'search-table', // The midline path complies with SEO specifications
| name: 'SearchTable',
| component: () => import('@/views/list/search-table/index.vue'),
| meta: {
| locale: 'menu.list.searchTable',
| requiresAuth: true,
| roles: ['*'],
| },
| },
| {
| path: 'card',
| name: 'Card',
| component: () => import('@/views/list/card/index.vue'),
| meta: {
| locale: 'menu.list.cardList',
| requiresAuth: true,
| roles: ['*'],
| },
| },
| ],
| };
|
| export default LIST;
|
|