added matches view and home view

This commit is contained in:
2023-07-23 02:12:22 +02:00
parent d21d3b5b34
commit 941002dcbf
3 changed files with 14 additions and 6 deletions

View File

@@ -12,15 +12,20 @@ const routes = [
// route level code-splitting
// this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import(/* webpackChunkName: "home" */ '@/views/Home.vue'),
component: () => import(/* webpackChunkName: "home" */ '@/views/Home.vue')
},
],
},
{
path: 'matches',
name: 'Matches',
component: () => import('@/views/Matches.vue')
}
]
}
]
const router = createRouter({
history: createWebHistory(process.env.BASE_URL),
routes,
routes
})
export default router