1
0
mirror of https://github.com/robonen/metr.git synced 2026-03-20 10:54:41 +00:00
This commit is contained in:
2022-05-23 19:01:04 +07:00
parent fa4a0ed77e
commit 4ae8ba4228
48 changed files with 1747 additions and 328 deletions

View File

@@ -0,0 +1,21 @@
import { createRouter, createWebHistory } from 'vue-router'
import MainView from '@/views/MainView.vue'
import AuthView from '@/views/AuthView.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
name: 'home',
component: MainView
},
{
path: '/auth',
name: 'auth',
component: AuthView
},
]
})
export default router