Add TypeScript ignore comments to swiper initialization
This commit is contained in:
@ -41,12 +41,14 @@
|
||||
|
||||
onMounted(() => {
|
||||
// Initialize Swiper
|
||||
// @ts-ignore
|
||||
var swiper = new Swiper('.mySwiper', {
|
||||
spaceBetween: 10,
|
||||
slidesPerView: 4,
|
||||
freeMode: true,
|
||||
watchSlidesProgress: true,
|
||||
})
|
||||
// @ts-ignore
|
||||
var swiper2 = new Swiper('.mySwiper2', {
|
||||
spaceBetween: 10,
|
||||
navigation: {
|
||||
|
||||
Reference in New Issue
Block a user