1
0
Fork 0
forked from TWS/kalkutago
kalkutago/client/src/router.ts
2023-06-25 14:06:25 -04:00

15 lines
463 B
TypeScript

import { createRouter, createWebHistory } from 'vue-router'
import TableView from './views/TableView.vue'
import NewTrackView from './views/NewTrackView.vue'
const router = createRouter({
history: createWebHistory(),
routes: [
{ path: '/', component: TableView },
{ path: '/new-track', component: NewTrackView }
// for other pages:
// {path: '/', component: import('./views/TableView.vue')}
]
})
export default router