From 35930802bdaad8ec67b1a16fee2da02a065c0695 Mon Sep 17 00:00:00 2001 From: "gwenael.planchon" Date: Thu, 28 Mar 2024 11:35:58 +0100 Subject: [PATCH] creer page creerPartie --- .../src/components/jeux/creerPartie.vue | 102 ++++++++++++++++++ science-quest/src/main.js | 2 + 2 files changed, 104 insertions(+) create mode 100644 science-quest/src/components/jeux/creerPartie.vue diff --git a/science-quest/src/components/jeux/creerPartie.vue b/science-quest/src/components/jeux/creerPartie.vue new file mode 100644 index 0000000..93714bc --- /dev/null +++ b/science-quest/src/components/jeux/creerPartie.vue @@ -0,0 +1,102 @@ + + + + + + \ No newline at end of file diff --git a/science-quest/src/main.js b/science-quest/src/main.js index 10e3d7d..56bc173 100644 --- a/science-quest/src/main.js +++ b/science-quest/src/main.js @@ -15,6 +15,7 @@ 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 CreerPartie from './components/jeux/creerPartie.vue' import Pendu from './components/jeux/pendu/Pendu.vue' import AdminGestionDonnees from "./components/admin/gestion/Liste.vue" import Inscription from './components/Inscription.vue' @@ -25,6 +26,7 @@ const routes = [ { path: '/inscription', component: Inscription }, { 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: '/partie', component: CreerPartie}, { path: '/pendu', component: Pendu }, { path: '/exemple/:id', component: TestParametreURL }, { path: '/admin/gestion', component: AdminGestionDonnees },