first work on hangman

This commit is contained in:
2020-03-28 17:01:53 +01:00
parent 4b9eb03f8d
commit fffa30c6a1
7 changed files with 316 additions and 7 deletions

View File

@@ -8,6 +8,8 @@ import MemoIndex from "./views/Memo/MemoIndex";
import MemoCreate from "./views/Memo/MemoCreate";
import MemoShow from "./views/Memo/MemoShow";
import MemoEdit from "./views/Memo/MemoEdit";
import GameIndex from "./views/Games/GameIndex";
import Hangman from "./views/Games/Hangman";
Vue.use(VueRouter)
@@ -46,5 +48,14 @@ export default new VueRouter({
path: '/memos/:id/edit', component: MemoEdit,
meta: {title: 'Edit Memo'}
},
{
path: '/jeux', component: GameIndex,
meta: {title: 'Liste des jeux'}
},
{
path: '/jeux/pendu', component: Hangman,
meta: {title: 'Jeu : Le pendu'}
},
]
})