feat(dashboard): add price history, caching, and i18n
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
<script setup lang="ts"></script>
|
||||
<script setup lang="ts">
|
||||
import { onMounted } from 'vue';
|
||||
import useDashboardViewModel from '../viewmodels/DashboardViewModel';
|
||||
|
||||
<template></template>
|
||||
const model = useDashboardViewModel();
|
||||
|
||||
onMounted(() => {
|
||||
model.getDashboardData();
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>{{ model.isLoading }}</div>
|
||||
<div>{{ model.dashboardData }}</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user