mirror of
https://github.com/Nezumi-2711/Sink.git
synced 2026-09-22 05:41:49 +00:00
perf: Update lazy loading for dashboard components
This commit is contained in:
@@ -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']"
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user