diff --git a/src/pages/HomePage.vue b/src/pages/Home/index.vue
similarity index 100%
rename from src/pages/HomePage.vue
rename to src/pages/Home/index.vue
diff --git a/src/router.ts b/src/router.ts
index 2a77e87..c02d87b 100644
--- a/src/router.ts
+++ b/src/router.ts
@@ -1,16 +1,25 @@
import { createRouter, createWebHistory } from "vue-router";
-import HomePage from "./pages/HomePage.vue";
-import CompanyPage from "./pages/CompanyPage.vue";
-import DesignPage from "./pages/DesignPage.vue";
+import Home from "./pages/Home/index.vue";
+import Company from "./pages/Company/index.vue";
+import Design from "./pages/Design/index.vue";
const routes = [
- { path: "/", component: HomePage },
- { path: "/company", component: CompanyPage },
- { path: "/design", component: DesignPage },
+ {
+ path: "/",
+ component: Home
+ },
+ {
+ path: "/company",
+ component: Company
+ },
+ {
+ path: "/design",
+ component: Design
+ }
];
export const router = createRouter({
history: createWebHistory(),
- routes,
+ routes
});