added frontend for friendships, and fixed logic around conflicts

This commit is contained in:
2025-12-18 13:36:03 +01:00
parent 2572db7a24
commit 2e2e9a76f9
5 changed files with 233 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ import { initAuth, validateToken } from '../stores/auth.ts'
import LoginPage from '../pages/LoginPage.vue'
import RoomsPage from '../pages/RoomsPage.vue'
import ChatPage from '../pages/ChatPage.vue'
import FriendListPage from '../pages/FriendListPage.vue'
const router = createRouter({
history: createWebHistory(),
@@ -11,6 +12,7 @@ const router = createRouter({
{ path: '/login', component: LoginPage },
{ path: '/', component: RoomsPage },
{ path: '/rooms/:uuid', component: ChatPage, props: true },
{ path: '/friendlist', component: FriendListPage }
],
})