漏 2020 Elektro Lumines 

// You need to transpile this code import Splide from '@splidejs/splide'; import { AutoScroll } from '@splidejs/splide-extension-auto-scroll'; const splide = new Splide( '.splide', { type : 'loop', drag : 'free', focus : 'center', perPage: 3, autoScroll: { speed: 2, }, } ); splide.mount();