import { createWebHistory, createRouter } from "vue-router"; import Main from "../pages/main/Main.vue"; import FileManagement from "../pages/file/FileManagement.vue"; import HostManagement from "../pages/file/HostManagement.vue"; import ScheduleManagement from "../pages/schedule/ScheduleManagement.vue"; import ScheduleLogManagement from "../pages/schedule/ScheduleLogManagement.vue"; // 템플릿 화면 import Searchbar from "../pages/template/Searchbar.vue"; import Table from "../pages/template/Table.vue"; import BtnPosition from "../pages/template/BtnPosition.vue"; const routes = [ /* 메인화면 */ // { path: "/", name: "Main", component: Main }, {path: "/fileManagement.page",name: "FileManagement",component: FileManagement}, {path: "/hostManagement.page",name: "HostManagement",component: HostManagement}, {path: "/scheduleManagement.page",name: "ScheduleManagement",component: ScheduleManagement,}, {path: "/scheduleLogManagement.page",name: "ScheduleLogManagement",component: ScheduleLogManagement,}, // 템플릿 화면 {path: "/searchbar.page",name: "Searchbar",component: Searchbar,}, {path: "/table.page",name: "Table",component: Table,}, {path: "/btnPosition.page",name: "BtnPosition",component: BtnPosition,}, ]; const AppRouter = createRouter({ history: createWebHistory(), routes, }); export default AppRouter;