2024-04-06 09:55:10 +08:00
|
|
|
import { createRouter, createWebHistory } from "vue-router";
|
2024-04-06 11:10:22 +08:00
|
|
|
import FinanceBillManage from "./modules/financeBillManage";
|
|
|
|
|
2024-04-06 09:55:10 +08:00
|
|
|
import HomeView from "@/pages/index.vue";
|
2024-04-06 09:32:25 +08:00
|
|
|
|
|
|
|
const router = createRouter({
|
|
|
|
history: createWebHistory(import.meta.env.BASE_URL),
|
|
|
|
routes: [
|
|
|
|
{
|
2024-04-06 09:55:10 +08:00
|
|
|
path: "/",
|
|
|
|
name: "home",
|
|
|
|
component: HomeView,
|
2024-04-06 09:32:25 +08:00
|
|
|
},
|
2024-04-06 11:10:22 +08:00
|
|
|
...FinanceBillManage,
|
2024-04-06 09:55:10 +08:00
|
|
|
],
|
|
|
|
});
|
2024-04-06 09:32:25 +08:00
|
|
|
|
2024-04-06 09:55:10 +08:00
|
|
|
export default router;
|