first work on front events
This commit is contained in:
18
resources/js/router.js
vendored
18
resources/js/router.js
vendored
@@ -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'}
|
||||
|
||||
Reference in New Issue
Block a user