fix. Splide 최적화
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -51,6 +51,8 @@ const mainOptions = computed<Options>(() => ({
|
||||
arrows: false,
|
||||
pagination: false,
|
||||
drag: props.drag,
|
||||
updateOnMove: true,
|
||||
lazyLoad: 'nearby', // 성능 최적화: 이미지 지연 로딩
|
||||
}))
|
||||
|
||||
const thumbOptions = computed<Options>(() => ({
|
||||
|
||||
Reference in New Issue
Block a user