<script setup lang="ts">
import { onMounted } from 'vue';
import useDashboardViewModel from '../viewmodels/DashboardViewModel';

const model = useDashboardViewModel();

onMounted(() => {
    model.getDashboardData();
});
</script>

<template>
    <div>{{ model.isLoading }}</div>
    <div>{{ model.dashboardData }}</div>
</template>
