added matches view and home view
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user