import { createWebHistory, createRouter } from "vue-router"; import Main from "../pages/main/Main.vue"; import Matching from "../pages/matching/Matching.vue"; import Data from "../pages/Data/Data.vue"; import Login from "../pages/login/Login.vue"; import Join from "../pages/Join/Join.vue"; import Introduction from "../pages/introduction/Introduction.vue"; import Technology from "../pages/Data/Technology.vue"; const routes = [ /* 메인화면 */ { path: "/", name: "Main", component: Main }, { path: "/Data.page", name: "Data", component: Data }, { path: "/Matching.page", name: "Matching", component: Matching }, { path: "/Login.page", name: "Login", component: Login }, { path: "/Join.page", name: "Join", component: Join }, { path: "/Introduction.page", name: "Introduction", component: Introduction }, { path: "/Technology.page", name: "Technology", component: Technology }, ]; const AppRouter = createRouter({ history: createWebHistory(), routes, }); export default AppRouter;