enlever la route ajout

front
Gwenael PLANCHON 1 year ago
parent c5adef968b
commit c97dcf03f3

@ -15,8 +15,7 @@ import TestParametreURL from "./components/TestParametreURL.vue"
import Login from "./components/Login.vue"
import KahootVue from './components/jeux/kahoot/Kahoot.vue'
import Pendu from './components/jeux/pendu/Pendu.vue'
import AdminAjoutScientifique from "./components/admin/gestionScientifiques/AjoutScientifique.vue"
import AdminGestionResources from "./components/admin/gestion/Liste.vue"
import AdminGestionDonnees from "./components/admin/gestion/Liste.vue"
const routes = [
{ path: '/', component: PagePrincipale },
@ -24,8 +23,7 @@ const routes = [
{ path: '/kahoot', component: KahootVue}, //TODO: changer la route pour qu'elle soit trouvée automatiquement par le serveur (ce que demande l'utilisateur)
{ path: '/pendu', component: Pendu },
{ path: '/exemple/:id', component: TestParametreURL },
{ path: '/admin/ajout_scientifique', component: AdminAjoutScientifique },
{ path: '/admin/gestion', component: AdminGestionResources },
{ path: '/admin/gestion', component: AdminGestionDonnees },
{ path: '/:pathMatch(.*)*', name: 'NotFound', component: NotFound },
]

Loading…
Cancel
Save