Messy transition to Vue

This commit is contained in:
2023-05-02 18:41:31 -07:00
parent aed2080b53
commit b0c3eaf33d
35 changed files with 4894 additions and 22 deletions
+26
View File
@@ -0,0 +1,26 @@
import { createRouter, createWebHistory } from 'vue-router'
import TableView from '../views/TableView.vue'
import DatabaseView from '../views/DatabaseView.vue'
import AboutView from '../views/AboutView.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
redirect: '/table'
},
{
path: '/table',
name: 'table',
component: TableView
},
{
path: '/database',
name: 'database',
component: DatabaseView
}
]
})
export default router