<script lang='ts' setup>

import NavTabs from './components/NavTabs.vue'
import CarTrack from './components/CarTrack.vue'
import EventFlash from './components/EventFlash.vue'
import HistoryPost from './components/HistoryPost/index.vue'

const act = ref(1)

</script>

<template>

  <NavTabs v-model="act" />
  
  <CarTrack v-if="act === 1" />
  <EventFlash v-if="act === 2" />
  <HistoryPost v-if="act === 3" />


</template>

<style lang='scss' scoped>

</style>