debug : code partie {{ codePartie }}
+ \ No newline at end of file diff --git a/science-quest/src/main.js b/science-quest/src/main.js index 3837b5b..c192e07 100644 --- a/science-quest/src/main.js +++ b/science-quest/src/main.js @@ -14,6 +14,7 @@ import NotFound from "./components/erreurs/NotFound.vue" import TestParametreURL from "./components/TestParametreURL.vue" import Login from "./components/Login.vue" import KahootVue from './components/jeux/kahoot/Kahoot.vue' +import KahootPartie from './components/jeux/kahoot/KahootPartie.vue' import Pendu from './components/jeux/pendu/Pendu.vue' import AdminGestionDonnees from "./components/admin/gestion/Liste.vue" @@ -21,6 +22,7 @@ const routes = [ { path: '/', component: PagePrincipale }, { path: '/login', component: Login }, { path: '/kahoot', component: KahootVue}, //TODO: changer la route pour qu'elle soit trouvée automatiquement par le serveur (ce que demande l'utilisateur) + { path: '/kahoot/partie/:code', component: KahootPartie}, { path: '/pendu', component: Pendu }, { path: '/exemple/:id', component: TestParametreURL }, { path: '/admin/gestion', component: AdminGestionDonnees },