|
@@ -1,5 +1,6 @@
|
|
import { createRouter, createWebHashHistory } from 'vue-router';
|
|
import { createRouter, createWebHashHistory } from 'vue-router';
|
|
import studentRoute from './studentRoute';
|
|
import studentRoute from './studentRoute';
|
|
|
|
+import adminRoute from './adminRoute';
|
|
|
|
|
|
const routes = [
|
|
const routes = [
|
|
{
|
|
{
|
|
@@ -83,6 +84,7 @@ const routes = [
|
|
},
|
|
},
|
|
];
|
|
];
|
|
routes.push(studentRoute);
|
|
routes.push(studentRoute);
|
|
|
|
+routes.push(adminRoute);
|
|
|
|
|
|
const router = createRouter({
|
|
const router = createRouter({
|
|
history: createWebHashHistory(),
|
|
history: createWebHashHistory(),
|