import { createRouter, createWebHistory } from "vue-router"; import FinanceBillManage from "./modules/financeBillManage"; import ReceivablesManagement from "./modules/receivables-management"; import Login from "@/pages/login/index.vue"; import Password from "@/pages/password/index.vue"; import Student from "@/pages/students/student.vue"; import Layout from "@/layout/index.vue"; const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), routes: [ { path: "/login", name: "login", component: Login, }, { path: "/password-reset", name: "password", component: Password, }, { path: "/student", name: "student", component: Student, }, ...FinanceBillManage, ...ReceivablesManagement ], }); export default router;