Nest + Swiper.js

Hi everyone, I need to nest a slider that is built with Swiper.js, but when I use the Nest solution the slider doesn’t work.
Is it possible that Fnsweet javascript breaks other js libraries like this?

Hey @marco it is very possible there might be some interference with outside scripts. What you can do in this case is delay the initialization of the slider until CMS Nest is done loading.

Something like this should work

<script>
      window.fsAttributes = window.fsAttributes || [];
      window.fsAttributes.push([
        'cmsnest',
        (listInstances) => {
          console.log('cmsnest Successfully loaded!');

          const swiper = new Swiper('.swiper', {
            //Your settings here
          });
        },
      ]);
    </script>