|
@ -1,6 +1,7 @@ |
|
|
import Vue from 'vue' |
|
|
import Vue from 'vue' |
|
|
import Router from 'vue-router' |
|
|
import Router from 'vue-router' |
|
|
import Mensa from '@/components/Mensa' |
|
|
import Mensa from '@/components/Mensa' |
|
|
|
|
|
import OpeningHours from '@/components/OpeningHours.vue' |
|
|
|
|
|
|
|
|
Vue.use(Router) |
|
|
Vue.use(Router) |
|
|
|
|
|
|
|
@ -12,6 +13,11 @@ export default new Router({ |
|
|
name: 'Mensa', |
|
|
name: 'Mensa', |
|
|
component: Mensa |
|
|
component: Mensa |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
path: '/open', |
|
|
|
|
|
name: 'OpeningHours', |
|
|
|
|
|
component: OpeningHours |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
path: '/:mensa/:tag', |
|
|
path: '/:mensa/:tag', |
|
|
component: Mensa |
|
|
component: Mensa |
|
|