From 335db342342354c724e6c6015a230c1ba588e7b6 Mon Sep 17 00:00:00 2001 From: Marcel Schneider Date: Tue, 17 Apr 2018 10:03:20 +0200 Subject: [PATCH] Add component for opening hours --- src/router/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/router/index.js b/src/router/index.js index 8001b16..5a1c58c 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,6 +1,7 @@ import Vue from 'vue' import Router from 'vue-router' import Mensa from '@/components/Mensa' +import OpeningHours from '@/components/OpeningHours.vue' Vue.use(Router) @@ -12,6 +13,11 @@ export default new Router({ name: 'Mensa', component: Mensa }, + { + path: '/open', + name: 'OpeningHours', + component: OpeningHours + }, { path: '/:mensa/:tag', component: Mensa