add Quizz route

This commit is contained in:
2020-05-03 11:34:35 +02:00
parent ee3eca7d8f
commit 9b56cf0f27
5 changed files with 46 additions and 5 deletions

View File

@@ -13,6 +13,7 @@ import ToDoListIndex from './views/ToDoLists/ToDoListIndex'
import ToDoListShow from './views/ToDoLists/ToDoListShow'
import GameIndex from './views/Games/GameIndex'
import Hangman from './views/Games/HangMan/Hangman'
import Quizz from './views/Games/Quizz/Quizz'
Vue.use(VueRouter)
@@ -72,5 +73,9 @@ export default new VueRouter({
path: '/jeux/pendu', component: Hangman,
meta: {title: 'Jeu : Le pendu'}
},
{
path: '/jeux/quizz', component: Quizz,
meta: {title: 'Jeu : Quizz'}
},
]
})