• Resolved oceandigitals

    (@oceandigitals)


    Hello,

    I have a technical question. I already use swiper for a custom built template in my website.

    Since

    Gutenslider uses Swiper, can I dequeue my swiper libraries? I don’t want to load the same library twice.

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author eedee

    (@eedee)

    That is unfortunately not easily possible. It is possible in javascript but requires some digging. Also it is not easy in general. As your site swiper and our plugin swiper might build on different package versions. And when one uses the latest version which e.g. uses functions that are not available in old versions it will produce critical errors and break the site.

    However the latest version 6.1.0 lazy loads everything in chunks.

    Thread Starter oceandigitals

    (@oceandigitals)

    I understand thanks…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Swiper library enqueue’ is closed to new replies.