SkillAegis/src/TheDahboard.vue

25 lines
462 B
Vue
Raw Permalink Normal View History

2024-07-01 06:13:08 +00:00
<script setup>
import { onMounted, watch } from 'vue'
2024-07-01 06:13:08 +00:00
import TheLiveLogs from './components/TheLiveLogs.vue'
import TheScores from './components/TheScores.vue'
import { resetState, fullReload, socketConnected } from "@/socket";
watch(socketConnected, (isConnected) => {
if (isConnected) {
resetState()
fullReload()
}
})
onMounted(() => {
fullReload()
})
</script>
<template>
<TheScores></TheScores>
<TheLiveLogs></TheLiveLogs>
2024-07-01 06:13:08 +00:00
</template>