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 Login from "../pages/login/Login.vue"; // 템플릿 import Searchbar from "../template/templateElement/Searchbar.vue"; import Table from "../template/templateElement/Table.vue"; import BtnPosition from "../template/templateElement/BtnPosition.vue"; import Horizontal from "../template/layoutTemplate/Horizontal.vue"; import Vertical from "../template/layoutTemplate/Vertical.vue"; import FormModal from "../template/templateElement/FormModal.vue" import AlertModal from "../template/templateElement/AlertModal.vue" import Guide from "../template/guide/TemplateGuide.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: "/login.page",name: "Login",component: Login,}, // 템플릿 화면 {path: "/searchbar.page",name: "Searchbar",component: Searchbar,}, {path: "/table.page",name: "Table",component: Table,}, {path: "/btnPosition.page",name: "BtnPosition",component: BtnPosition,}, {path: "/horizontal.page",name: "Horizontal",component: Horizontal,}, {path: "/vertical.page",name: "Vertical",component: Vertical,}, {path: "/formModal.page",name: "FormModal",component: FormModal,}, {path: "/alertModal.page",name: "AlertModal",component: AlertModal,}, {path: "/guide.page",name: "Guide",component: Guide,}, ]; const AppRouter = createRouter({ history: createWebHistory(), routes, }); export default AppRouter;