slick slider bootstrap 4 code example
Example 1: slick slider unslick
$('.your-slider').slick('unslick');
Example 2: carousel multiple items variable width
$('.variable-width').slick({
dots: true,
infinite: true,
speed: 300,
slidesToShow: 1,
centerMode: true,
variableWidth: true
});