Skip to content

Commit 6df4533

Browse files
committed
perf: layz load vue data ui components
1 parent 0cc7237 commit 6df4533

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/pages/compare.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ useSeoMeta({
246246
{{ $t('compare.facets.trends.title') }}
247247
</h2>
248248

249-
<CompareLineChart :packages="packages.filter(p => p !== NO_DEPENDENCY_ID)" />
249+
<LazyCompareLineChart :packages="packages.filter(p => p !== NO_DEPENDENCY_ID)" />
250250
</div>
251251

252252
<div v-else class="text-center py-12" role="alert">

app/pages/package/[[org]]/[name].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ onKeyStroke(
11471147
</ClientOnly>
11481148

11491149
<!-- Download stats -->
1150-
<PackageWeeklyDownloadStats :packageName :createdIso="pkg?.time?.created ?? null" />
1150+
<LazyPackageWeeklyDownloadStats :packageName :createdIso="pkg?.time?.created ?? null" />
11511151

11521152
<!-- Playground links -->
11531153
<PackagePlaygrounds

0 commit comments

Comments
 (0)