feat: implement timer screens and navigation
This commit is contained in:
@@ -2,6 +2,7 @@ import { createRouter, createWebHistory } from '@ionic/vue-router';
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
import TimersList from '@/views/TimersList/TimersList.vue';
|
||||
import Timer from '@/views/Timer/Timer.vue';
|
||||
import TimerUpdate from '@/views/TimerUpdate/TimerUpdate.vue';
|
||||
|
||||
const routes: RouteRecordRaw[] = [
|
||||
{
|
||||
@@ -17,6 +18,11 @@ const routes: RouteRecordRaw[] = [
|
||||
path: '/timer/:id',
|
||||
name: 'Timer',
|
||||
component: Timer
|
||||
},
|
||||
{
|
||||
path: '/timer-update/:id',
|
||||
name: 'TimerUpdate',
|
||||
component: TimerUpdate
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user