aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/router
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/router')
-rw-r--r--frontend/src/router/index.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts
index e58491f..fe575db 100644
--- a/frontend/src/router/index.ts
+++ b/frontend/src/router/index.ts
@@ -8,6 +8,21 @@ const router = createRouter({
path: '/',
name: 'home',
component: HomeView
+ },
+ {
+ path: '/host',
+ name: 'host',
+ component: () => import('../views/HostView.vue')
+ },
+ {
+ path: '/play',
+ name: 'play',
+ component: () => import('../views/PlayView.vue')
+ },
+ {
+ path: '/join/:id',
+ name: 'join',
+ component: () => import('../views/JoinView.vue')
}
]
})