mirror of
https://github.com/nuxt/ui.git
synced 2026-09-14 19:51:10 +08:00
docs(templates): eager images only in the list on show
This commit is contained in:
@@ -64,7 +64,7 @@ if (import.meta.server) {
|
||||
:alt="`Template ${template.title} screenshot`"
|
||||
width="654"
|
||||
height="368"
|
||||
:loading="index < 2 ? 'eager' : 'lazy'"
|
||||
:loading="framework === 'nuxt' && index < 2 ? 'eager' : 'lazy'"
|
||||
class="w-full md:w-92 lg:w-110 md:row-span-2 xl:row-span-1 aspect-video object-cover object-top rounded-md border border-default"
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user