perf: Update lazy loading for dashboard components

This commit is contained in:
ccbikai 2024-06-08 13:48:15 +08:00
parent bdabd9d65f
commit 5df2adc5b0
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
<template> <template>
<main class="grid gap-8 lg:grid-cols-12"> <main class="grid gap-8 lg:grid-cols-12">
<DashboardMetricsLocations class="col-span-1 lg:col-span-8" /> <LazyDashboardMetricsLocations class="col-span-1 lg:col-span-8" />
<DashboardMetricsGroup <DashboardMetricsGroup
class="lg:col-span-4" class="lg:col-span-4"
:tabs="['country', 'region', 'city']" :tabs="['country', 'region', 'city']"

View file

@ -5,6 +5,6 @@ provide('id', ref())
<template> <template>
<main class="space-y-6"> <main class="space-y-6">
<DashboardBreadcrumb title="Analysis" /> <DashboardBreadcrumb title="Analysis" />
<Dashboard /> <LazyDashboard />
</main> </main>
</template> </template>

View file

@ -1,5 +1,5 @@
<template> <template>
<main class="flex items-center justify-center h-full"> <main class="flex items-center justify-center h-full">
<Login /> <LazyLogin />
</main> </main>
</template> </template>