Commit b3781c0d4a8d6875e35d3d2bb2e9c388acc08c3b
1 parent
6b6e4e83d4
Exists in
master
and in
3 other branches
add new pages routes
Showing
1 changed file
with
66 additions
and
0 deletions
Show diff stats
src/router/paths.js
... | ... | @@ -89,4 +89,70 @@ export default [ |
89 | 89 | `@/pages/Students/students.vue` |
90 | 90 | ) |
91 | 91 | }, |
92 | + { | |
93 | + path: '/addclass', | |
94 | + meta: { }, | |
95 | + name: 'addclass', | |
96 | + props: (route) => ({ type: route.query.type }), | |
97 | + component: () => import( | |
98 | + /* webpackChunkName: "routes" */ | |
99 | + /* webpackMode: "lazy-once" */ | |
100 | + `@/pages/Class/addclass.vue` | |
101 | + ) | |
102 | + }, | |
103 | + { | |
104 | + path: '/section', | |
105 | + meta: { }, | |
106 | + name: 'section', | |
107 | + props: (route) => ({ type: route.query.type }), | |
108 | + component: () => import( | |
109 | + /* webpackChunkName: "routes" */ | |
110 | + /* webpackMode: "lazy-once" */ | |
111 | + `@/pages/Section/section.vue` | |
112 | + ) | |
113 | + }, | |
114 | + { | |
115 | + path: '/event', | |
116 | + meta: { }, | |
117 | + name: 'event', | |
118 | + props: (route) => ({ type: route.query.type }), | |
119 | + component: () => import( | |
120 | + /* webpackChunkName: "routes" */ | |
121 | + /* webpackMode: "lazy-once" */ | |
122 | + `@/pages/Event/event.vue` | |
123 | + ) | |
124 | + }, | |
125 | + { | |
126 | + path: '/news', | |
127 | + meta: { }, | |
128 | + name: 'news', | |
129 | + props: (route) => ({ type: route.query.type }), | |
130 | + component: () => import( | |
131 | + /* webpackChunkName: "routes" */ | |
132 | + /* webpackMode: "lazy-once" */ | |
133 | + `@/pages/News/news.vue` | |
134 | + ) | |
135 | + }, | |
136 | + { | |
137 | + path: '/reminder', | |
138 | + meta: { }, | |
139 | + name: 'reminder', | |
140 | + props: (route) => ({ type: route.query.type }), | |
141 | + component: () => import( | |
142 | + /* webpackChunkName: "routes" */ | |
143 | + /* webpackMode: "lazy-once" */ | |
144 | + `@/pages/Reminder/reminder.vue` | |
145 | + ) | |
146 | + }, | |
147 | + { | |
148 | + path: '/timeTable', | |
149 | + meta: { }, | |
150 | + name: 'timeTable', | |
151 | + props: (route) => ({ type: route.query.type }), | |
152 | + component: () => import( | |
153 | + /* webpackChunkName: "routes" */ | |
154 | + /* webpackMode: "lazy-once" */ | |
155 | + `@/pages/TimeTable/timeTable.vue` | |
156 | + ) | |
157 | + } | |
92 | 158 | ]; | ... | ... |