first work on front events

This commit is contained in:
2020-08-24 07:55:32 +02:00
parent 0f4250a029
commit f466ce7cc9
17 changed files with 575 additions and 32 deletions

View File

@@ -15,6 +15,10 @@ import BookmarkIndex from './views/Bookmark/BookmarkIndex'
import GameIndex from './views/Games/GameIndex'
import Hangman from './views/Games/HangMan/Hangman'
import Quizz from './views/Games/Quizz/Quizz'
import EventIndex from './views/Event/EventIndex'
import EventCreate from './views/Event/EventCreate'
import EventShow from './views/Event/EventShow'
import EventEdit from './views/Event/EventEdit'
Vue.use(VueRouter)
@@ -66,6 +70,20 @@ export default new VueRouter({
meta: {title: 'Details of List'}
},
{
path: '/events', component: EventIndex,
meta: {title: 'Events List'}
}, {
path: '/events/create', component: EventCreate,
meta: {title: 'Add New Event'}
}, {
path: '/events/:id', component: EventShow,
meta: {title: 'Detail for Event'}
}, {
path: '/events/:id/edit', component: EventEdit,
meta: {title: 'Edit Event'}
},
{
path: '/bookmarks', component: BookmarkIndex,
meta: {title: 'Bookmark Lists'}