Blame view

src/router/paths.js 3.75 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
37
      )
    },
    {
      path: '/changepassword',
04e3fbc56   Jatinder Singh   minor fix
38
39
40
      meta: { },
      name: 'changepassword',
      props: (route) => ({ type: route.query.type }),
93a68cfa1   Jatinder Singh   first commit
41
42
43
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
1c1942362   Neeraj Sharma   commit code Schoo...
44
        `@/pages/Authentication/changepassword.vue`
93a68cfa1   Jatinder Singh   first commit
45
46
      )
    },
93a68cfa1   Jatinder Singh   first commit
47
    {
1c1942362   Neeraj Sharma   commit code Schoo...
48
      path: '/teachers',
f7979ec1a   Neeraj Sharma   add seach in heal...
49
      meta: { breadcrumb: false },
1c1942362   Neeraj Sharma   commit code Schoo...
50
      name: 'teachers',
93a68cfa1   Jatinder Singh   first commit
51
52
53
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
1c1942362   Neeraj Sharma   commit code Schoo...
54
        `@/pages/Teachers/teachers.vue`
93a68cfa1   Jatinder Singh   first commit
55
56
57
58
59
60
61
62
63
64
65
      )
    },
    {
      path: '/',
      meta: {
        public: true,
      },
      name: 'Login',
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
1c1942362   Neeraj Sharma   commit code Schoo...
66
        `@/pages/Authentication/Login.vue`
93a68cfa1   Jatinder Singh   first commit
67
68
69
70
71
72
73
74
75
76
77
      )
    },
    {
      path: '/forgetpassword',
      meta: {
        public: true,
      },
      name: 'forgetpassword',
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
1c1942362   Neeraj Sharma   commit code Schoo...
78
        `@/pages/Authentication/forgetpassword.vue`
93a68cfa1   Jatinder Singh   first commit
79
80
81
      )
    },
    {
e3e2a04c6   Neeraj Sharma   first commit
82
      path: '/students',
93a68cfa1   Jatinder Singh   first commit
83
      meta: { },
e3e2a04c6   Neeraj Sharma   first commit
84
      name: 'Students',
93a68cfa1   Jatinder Singh   first commit
85
86
87
88
      props: (route) => ({ type: route.query.type }),
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
1c1942362   Neeraj Sharma   commit code Schoo...
89
        `@/pages/Students/students.vue`
93a68cfa1   Jatinder Singh   first commit
90
91
      )
    },
b3781c0d4   Neeraj Sharma   add new pages routes
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
    {
      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`
      )
    },
506be6fd7   Neeraj Sharma   implemet dyamic i...
114
115
116
117
118
119
120
121
122
123
124
    // {
    //   path: '/event',
    //   meta: { },
    //   name: 'event',
    //   props: (route) => ({ type: route.query.type }),
    //   component: () => import(
    //     /* webpackChunkName: "routes" */
    //     /* webpackMode: "lazy-once" */
    //     `@/pages/Event/event.vue`
    //   )
    // },
b3781c0d4   Neeraj Sharma   add new pages routes
125
126
127
128
129
130
131
132
133
134
135
    {
      path: '/news',
      meta: { },
      name: 'news',
      props: (route) => ({ type: route.query.type }),
      component: () => import(
        /* webpackChunkName: "routes" */
        /* webpackMode: "lazy-once" */
        `@/pages/News/news.vue`
      )
    },
506be6fd7   Neeraj Sharma   implemet dyamic i...
136
137
138
139
140
141
142
143
144
145
146
    // {
    //   path: '/reminder',
    //   meta: { },
    //   name: 'reminder',
    //   props: (route) => ({ type: route.query.type }),
    //   component: () => import(
    //     /* webpackChunkName: "routes" */
    //     /* webpackMode: "lazy-once" */
    //     `@/pages/Reminder/reminder.vue`
    //   )
    // },
b3781c0d4   Neeraj Sharma   add new pages routes
147
148
149
150
151
152
153
154
155
156
    {
      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 ...
157
158
159
160
161
162
163
164
165
166
167
    },
    {
      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
168
    }
93a68cfa1   Jatinder Singh   first commit
169
  ];