fix. Splide 최적화

This commit is contained in:
clkim
2025-12-18 14:32:40 +09:00
parent 78ce718f72
commit 6d93bebd8b
5 changed files with 17 additions and 16 deletions

View File

@@ -45,6 +45,7 @@ const options = computed((): ResponsiveOptions => {
arrows: props.arrows,
pagination: props.pagination,
flickPower: 300,
lazyLoad: 'nearby',
classes: {
pagination: 'splide-pagination-bullets type-full',
page: 'splide-pagination-bullet',

View File

@@ -51,6 +51,8 @@ const mainOptions = computed<Options>(() => ({
arrows: false,
pagination: false,
drag: props.drag,
updateOnMove: true,
lazyLoad: 'nearby', // 성능 최적화: 이미지 지연 로딩
}))
const thumbOptions = computed<Options>(() => ({