Test frontend #only_compile

This commit is contained in:
Andy-Ruda 2023-10-25 21:52:08 -05:00
parent d051265f40
commit 708e54d080
2 changed files with 4 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<link rel="icon" href="/favicon.ico"> <link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Vite App</title> <title>Vite Vasanko</title>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>

View File

@ -28,10 +28,11 @@
}) })
watchEffect(() => { watchEffect(() => {
const documentHandler = new DocumentHandler()
const documentUploadHandler = new DocumentUploadHandler()
console.log('Actual Path') console.log('Actual Path')
console.log(Router.currentRoute.value.path) console.log(Router.currentRoute.value.path)
console.log(Router.currentRoute)
const documentHandler = new DocumentHandler()
const documentUploadHandler = new DocumentUploadHandler()
const wsWatch = createWebSocket(url_document_watch_ws, documentHandler.handleWebSocketMessage) const wsWatch = createWebSocket(url_document_watch_ws, documentHandler.handleWebSocketMessage)
const wsUpload = createWebSocket(url_document_upload_ws, documentUploadHandler.handleWebSocketMessage) const wsUpload = createWebSocket(url_document_upload_ws, documentUploadHandler.handleWebSocketMessage)