connect home page in router

This commit is contained in:
Kostya
2023-11-12 22:05:29 +03:00
parent ab99e696ad
commit 086515f3b8
2 changed files with 4 additions and 1 deletions

View File

@@ -1,8 +1,9 @@
import { createRouter, createWebHistory } from "vue-router";
import homePage from "@/pages/HomePage.vue";
export default createRouter({
history: createWebHistory(),
routes: [
{ path: '/', component: HomePage, name: 'home' }
{ path: '/', component: homePage, name: 'home' }
]
})