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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
| import Index from '@/layout/index.vue';
| import Store from '@/store/';
|
| export default [
| {
| path: '/',
| component: () => import('@/layout/index.vue'),
| redirect: '/index',
| children: [
| {
| path: 'index',
| name: '首页',
| meta: {
| i18n: 'dashboard',
| },
| component: () => import(/* webpackChunkName: "views" */ '@/views/Home/Home.vue'),
| },
| {
| path: 'dashboard',
| name: '控制台',
| meta: {
| i18n: 'dashboard',
| menu: false,
| },
| component: () => import(/* webpackChunkName: "views" */ '@/views/wel/dashboard.vue'),
| },
| ],
| },
| {
| path: '/test',
| component: Index,
| redirect: '/test/index',
| children: [
| {
| path: 'index',
| name: '测试页',
| meta: {
| i18n: 'test',
| },
| component: () => import(/* webpackChunkName: "views" */ '@/views/Test.vue'),
| },
| ],
| },
| // {
| // path: '/dict-horizontal',
| // component: Layout,
| // redirect: '/dict-horizontal/index',
| // children: [
| // {
| // path: 'index',
| // name: '字典管理',
| // meta: {
| // i18n: 'dict',
| // },
| // component: () =>
| // import(/* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal.vue'),
| // },
| // ],
| // },
| // {
| // path: '/dict-vertical',
| // component: Layout,
| // redirect: '/dict-vertical/index',
| // children: [
| // {
| // path: 'index',
| // name: '字典管理',
| // meta: {
| // i18n: 'dict',
| // },
| // component: () =>
| // import(/* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical.vue'),
| // },
| // ],
| // },
| // {
| // path: '/info',
| // component: Layout,
| // redirect: '/info/index',
| // children: [
| // {
| // path: 'index',
| // name: '个人信息',
| // meta: {
| // i18n: 'info',
| // },
| // component: () => import(/* webpackChunkName: "views" */ '@/views/system/userinfo.vue'),
| // },
| // ],
| // },
| ];
|
|