Skip to content

Commit cf47b33

Browse files
committed
added matches route
1 parent 9031e8b commit cf47b33

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

frontend/src/router/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import Search from '../views/app/Search.vue';
1414
import Settings from '../views/app/Settings.vue';
1515
import User from '../components/app/users/User.vue';
1616
import History from '../views/app/History.vue';
17+
import Matches from '../views/app/Matches.vue';
1718
import store from '../store/index';
1819

1920
Vue.use(VueRouter);
@@ -126,6 +127,11 @@ const routes = [
126127
component: History,
127128
beforeEnter: notLoggedInRedirectLogin,
128129
},
130+
{
131+
path: '/matches',
132+
component: Matches,
133+
beforeEnter: notLoggedInRedirectLogin,
134+
},
129135
];
130136

131137
const router = new VueRouter({

frontend/src/views/app/Matches.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<template>
2+
<h1>test</h1>
3+
</template>
4+
5+
<script>
6+
</script>

0 commit comments

Comments
 (0)