mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Dodatkowy widok rozkładów jazdy na stacji
This commit is contained in:
@@ -3,6 +3,7 @@ import VueRouter, { RouteConfig } from 'vue-router';
|
||||
|
||||
import StationsView from '../views/StationsView.vue';
|
||||
import TrainsView from '../views/TrainsView.vue';
|
||||
import TimetableView from '../views/TimetableView.vue';
|
||||
|
||||
Vue.use(VueRouter);
|
||||
|
||||
@@ -18,6 +19,12 @@ const routes: Array<RouteConfig> = [
|
||||
component: TrainsView,
|
||||
props: true,
|
||||
},
|
||||
{
|
||||
path: '/timetable',
|
||||
name: 'TimetableView',
|
||||
component: TimetableView,
|
||||
props: true
|
||||
}
|
||||
];
|
||||
|
||||
const router = new VueRouter({
|
||||
|
||||
Reference in New Issue
Block a user