Blame view

src/router/paths.js 3.9 KB
93a68cfa1   Jatinder Singh   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  export default [
  
    {
      path: '*',
      meta: {
        public: true,
      },
      redirect: {
        path: '/404'
      }
    },  
    {
      path: '/404',
      meta: {
        public: true,
      },
      name: 'NotFound',
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
1c1942362   Neeraj Sharma   commit code Schoo...
21
        `@/pages/NotFound/NotFound.vue`
93a68cfa1   Jatinder Singh   first commit
22
23
24
25
26
27
28
29
30
31
32
      )
    },
    {
      path: '/500',
      meta: {
        public: true,
      },
      name: 'ServerError',
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
1c1942362   Neeraj Sharma   commit code Schoo...
33
        `@/pages/NotFound/Error.vue`
93a68cfa1   Jatinder Singh   first commit
34
35
36
      )
    },
    {
2b0e316ee   Neeraj Sharma   upload mytiple im...
37
38
39
40
41
42
43
44
45
46
      path: '/dashboard',
      meta: {},
      name: 'dashboard',
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
        `@/pages/Dasboard/dashbord`
      )
    },
    {
93a68cfa1   Jatinder Singh   first commit
47
      path: '/changepassword',
04e3fbc56   Jatinder Singh   minor fix
48
49
50
      meta: { },
      name: 'changepassword',
      props: (route) => ({ type: route.query.type }),
93a68cfa1   Jatinder Singh   first commit
51
52
53
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
1c1942362   Neeraj Sharma   commit code Schoo...
54
        `@/pages/Authentication/changepassword.vue`
93a68cfa1   Jatinder Singh   first commit
55
56
      )
    },
93a68cfa1   Jatinder Singh   first commit
57
    {
1c1942362   Neeraj Sharma   commit code Schoo...
58
      path: '/teachers',
f7979ec1a   Neeraj Sharma   add seach in heal...
59
      meta: { breadcrumb: false },
1c1942362   Neeraj Sharma   commit code Schoo...
60
      name: 'teachers',
93a68cfa1   Jatinder Singh   first commit
61
62
63
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
1c1942362   Neeraj Sharma   commit code Schoo...
64
        `@/pages/Teachers/teachers.vue`
93a68cfa1   Jatinder Singh   first commit
65
66
67
68
69
70
71
72
73
74
75
      )
    },
    {
      path: '/',
      meta: {
        public: true,
      },
      name: 'Login',
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
1c1942362   Neeraj Sharma   commit code Schoo...
76
        `@/pages/Authentication/Login.vue`
93a68cfa1   Jatinder Singh   first commit
77
78
79
80
81
82
83
84
85
86
87
      )
    },
    {
      path: '/forgetpassword',
      meta: {
        public: true,
      },
      name: 'forgetpassword',
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
1c1942362   Neeraj Sharma   commit code Schoo...
88
        `@/pages/Authentication/forgetpassword.vue`
93a68cfa1   Jatinder Singh   first commit
89
90
91
      )
    },
    {
e3e2a04c6   Neeraj Sharma   first commit
92
      path: '/students',
93a68cfa1   Jatinder Singh   first commit
93
      meta: { },
e3e2a04c6   Neeraj Sharma   first commit
94
      name: 'Students',
93a68cfa1   Jatinder Singh   first commit
95
96
97
98
      props: (route) => ({ type: route.query.type }),
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
1c1942362   Neeraj Sharma   commit code Schoo...
99
        `@/pages/Students/students.vue`
93a68cfa1   Jatinder Singh   first commit
100
101
      )
    },
b3781c0d4   Neeraj Sharma   add new pages routes
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
    {
      path: '/addclass',
      meta: { },
      name: 'addclass',
      props: (route) => ({ type: route.query.type }),
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
        `@/pages/Class/addclass.vue`
      )
    },
    {
      path: '/section',
      meta: { },
      name: 'section',
      props: (route) => ({ type: route.query.type }),
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
        `@/pages/Section/section.vue`
      )
    },
    {
      path: '/event',
      meta: { },
      name: 'event',
      props: (route) => ({ type: route.query.type }),
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
        `@/pages/Event/event.vue`
      )
    },
    {
      path: '/news',
      meta: { },
      name: 'news',
      props: (route) => ({ type: route.query.type }),
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
        `@/pages/News/news.vue`
      )
    },
    {
      path: '/reminder',
      meta: { },
      name: 'reminder',
      props: (route) => ({ type: route.query.type }),
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
        `@/pages/Reminder/reminder.vue`
      )
    },
    {
      path: '/timeTable',
      meta: { },
      name: 'timeTable',
      props: (route) => ({ type: route.query.type }),
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
        `@/pages/TimeTable/timeTable.vue`
      )
55f72b7d7   Neeraj Sharma   add new page are ...
167
168
169
170
171
172
173
174
175
176
177
    },
    {
      path: '/notification',
      meta: { },
      name: 'notification',
      props: (route) => ({ type: route.query.type }),
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
        `@/pages/Notification/notification.vue`
      )
b3781c0d4   Neeraj Sharma   add new pages routes
178
    }
93a68cfa1   Jatinder Singh   first commit
179
  ];