1
0
mirror of https://github.com/robonen/metr.git synced 2026-03-20 10:54:41 +00:00
This commit is contained in:
Konstantin Vinokurov
2022-05-27 18:03:55 +07:00
parent 4c7db78fcc
commit 1071177df9
23 changed files with 326 additions and 62 deletions

View File

@@ -1,6 +1,8 @@
import { createRouter, createWebHistory } from 'vue-router'
import MainView from '@/views/MainView.vue'
import AuthView from '@/views/AuthView.vue'
import CatalogView from "@/views/CatalogView.vue";
import ProfileView from "@/views/ProfileView.vue";
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@@ -15,6 +17,16 @@ const router = createRouter({
name: 'auth',
component: AuthView
},
{
path: '/catalog',
name: 'catalog',
component: CatalogView
},
{
path: '/profile',
name: 'profile',
component: ProfileView
},
]
})