2023-06-25 10:29:32 -04:00
|
|
|
import { createRouter, createWebHistory } from 'vue-router'
|
|
|
|
import TableView from './views/TableView.vue'
|
2023-06-25 14:06:25 -04:00
|
|
|
import NewTrackView from './views/NewTrackView.vue'
|
2023-06-25 10:29:32 -04:00
|
|
|
|
|
|
|
const router = createRouter({
|
|
|
|
history: createWebHistory(),
|
|
|
|
routes: [
|
2023-06-25 14:06:25 -04:00
|
|
|
{ path: '/', component: TableView },
|
|
|
|
{ path: '/new-track', component: NewTrackView }
|
2023-06-25 10:29:32 -04:00
|
|
|
// for other pages:
|
|
|
|
// {path: '/', component: import('./views/TableView.vue')}
|
|
|
|
]
|
|
|
|
})
|
|
|
|
|
|
|
|
export default router
|