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 },
|
2023-06-27 05:59:46 -04:00
|
|
|
{ path: '/new-track', component: NewTrackView },
|
|
|
|
{ path: '/login', component: import('./views/Login.vue') }
|
2023-06-25 10:29:32 -04:00
|
|
|
// for other pages:
|
|
|
|
// {path: '/', component: import('./views/TableView.vue')}
|
|
|
|
]
|
|
|
|
})
|
|
|
|
|
|
|
|
export default router
|