dykj-college-back-office-ma.../src/router/index.js

28 lines
683 B
JavaScript
Raw Normal View History

import { createRouter, createWebHistory } from "vue-router";
import FinanceBillManage from "./modules/financeBillManage";
2024-04-06 14:17:20 +08:00
import ReceivablesManagement from "./modules/receivables-management";
2024-04-06 11:28:15 +08:00
import Login from "@/pages/login/index.vue";
2024-04-06 15:15:18 +08:00
import Student from "@/pages/students/student.vue";
2024-04-06 09:32:25 +08:00
import Layout from "@/layout/index.vue";
2024-04-06 09:32:25 +08:00
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
2024-04-06 14:17:20 +08:00
2024-04-06 11:28:15 +08:00
{
path: "/login",
name: "login",
component: Login,
},
2024-04-06 15:15:18 +08:00
{
path: "/student",
name: "student",
component: Student,
},
...FinanceBillManage,
2024-04-06 14:17:20 +08:00
...ReceivablesManagement
],
});
2024-04-06 09:32:25 +08:00
export default router;