1
0
forked from noxious/client

updated packages, updated websocket to socket.io, moved login styling to its own scss file

This commit is contained in:
2024-05-03 01:25:47 +02:00
parent 79e1525345
commit 1631f1b9ca
8 changed files with 231 additions and 154 deletions

View File

@ -0,0 +1,13 @@
import { io, Socket } from 'socket.io-client'
import config from '@/config';
class SocketioService {
socket: Socket | undefined;
constructor() {}
setupSocketConnection(): void {
this.socket = io(config.server_endpoint as string);
}
}
export default new SocketioService();