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>
<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
class="lg:col-span-4"
:tabs="['country', 'region', 'city']"

View file

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

View file

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