diff --git a/science-quest/src/components/Profil.vue b/science-quest/src/components/Profil.vue new file mode 100644 index 0000000..f0e644e --- /dev/null +++ b/science-quest/src/components/Profil.vue @@ -0,0 +1,30 @@ + + + + + + \ No newline at end of file diff --git a/science-quest/src/main.js b/science-quest/src/main.js index 56bc173..d908a6e 100644 --- a/science-quest/src/main.js +++ b/science-quest/src/main.js @@ -12,18 +12,22 @@ import './scss/styles.scss' import PagePrincipale from "./components/PagePrincipale.vue" import NotFound from "./components/erreurs/NotFound.vue" import TestParametreURL from "./components/TestParametreURL.vue" + import Login from "./components/Login.vue" +import Inscription from './components/Inscription.vue' +import Profil from './components/Profil.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' const routes = [ { path: '/', component: PagePrincipale }, { path: '/login', component: Login }, { path: '/inscription', component: Inscription }, + { path: '/profil', component: Profil }, { 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},