paths.js
1.86 KB
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
92
export default [
{
path: '*',
meta: {
public: true,
},
redirect: {
path: '/404'
}
},
{
path: '/404',
meta: {
public: true,
},
name: 'NotFound',
component: () => import(
/* webpackChunkName: "routes" */
/* webpackMode: "lazy-once" */
`@/pages/NotFound/NotFound.vue`
)
},
{
path: '/500',
meta: {
public: true,
},
name: 'ServerError',
component: () => import(
/* webpackChunkName: "routes" */
/* webpackMode: "lazy-once" */
`@/pages/NotFound/Error.vue`
)
},
{
path: '/changepassword',
meta: { },
name: 'changepassword',
props: (route) => ({ type: route.query.type }),
component: () => import(
/* webpackChunkName: "routes" */
/* webpackMode: "lazy-once" */
`@/pages/Authentication/changepassword.vue`
)
},
{
path: '/teachers',
meta: { breadcrumb: false },
name: 'teachers',
component: () => import(
/* webpackChunkName: "routes" */
/* webpackMode: "lazy-once" */
`@/pages/Teachers/teachers.vue`
)
},
{
path: '/',
meta: {
public: true,
},
name: 'Login',
component: () => import(
/* webpackChunkName: "routes" */
/* webpackMode: "lazy-once" */
`@/pages/Authentication/Login.vue`
)
},
{
path: '/forgetpassword',
meta: {
public: true,
},
name: 'forgetpassword',
component: () => import(
/* webpackChunkName: "routes" */
/* webpackMode: "lazy-once" */
`@/pages/Authentication/forgetpassword.vue`
)
},
{
path: '/students',
meta: { },
name: 'Students',
props: (route) => ({ type: route.query.type }),
component: () => import(
/* webpackChunkName: "routes" */
/* webpackMode: "lazy-once" */
`@/pages/Students/students.vue`
)
},
];