Описание изменений

This commit is contained in:
2025-03-07 21:49:36 +03:00
parent f7abe7099b
commit 681343d851
10 changed files with 212 additions and 398 deletions

View File

@@ -1,7 +1,6 @@
import { createRouter, createWebHistory } from 'vue-router';
import { useAuthStore } from '../stores/auth';
import HomeView from '../views/HomeView.vue';
import ChatView from '../views/ChatView.vue';
const routes = [
{
@@ -10,12 +9,6 @@ const routes = [
component: HomeView,
meta: { requiresAuth: false },
},
{
path: '/chat',
name: 'chat',
component: ChatView,
meta: { requiresAuth: true }
}
];
const router = createRouter({