What is the best/correct way to use Vue libs (for example a Swiper) which need a 'new ...' in the script part? 'new ...' works fine in the frontend, but ESlint is bragging about it no matter how i write it:
const swiper = new Swiper > 'swiper' is assigned a value but never used ...
new Swiper > Do not use 'new' for side effects
Without new > Class constructor Swiper cannot be invoked without 'new' and not working anymore in the frontend
So, what is the "correct" way to write this?