diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index 2dc88cd..165ddc6 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -9,6 +9,11 @@ import TestGameBoard from '@/pages/TestGameBoard.vue' import SinglePlayerGamePage from '@/pages/game/SinglePlayerGamePage.vue' import { createRouter, createWebHistory } from 'vue-router' import { toast } from 'vue-sonner' +import TestAnimations from '@/pages/TestAnimations.vue' +import TestDealing from '@/pages/TestDealing.vue' +import TestAllAnimations from '@/pages/TestAllAnimations.vue' +import TestGameBoard from '@/pages/TestGameBoard.vue' +import SinglePlayerGamePage from '@/pages/game/SinglePlayerGamePage.vue' const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), @@ -22,6 +27,20 @@ const router = createRouter({ path: '/login', name: 'login', component: LoginPage, + }, + { + path: '/game/3', + name: 'bisca3', + component: SinglePlayerGamePage, + props: { gameType: 3 }, + meta: { requiresAuth: true }, + }, + { + path: '/game/9', + name: 'bisca9', + component: SinglePlayerGamePage, + props: { gameType: 9 }, + meta: { requiresAuth: true }, }, { path: '/game/3',