Designer View Messed Up by Elements Requiring JS Initialization

Hi,

I am creating a slider for my hero using SplideJS .

I have installed and got the slider working fine but given that the JS only runs when I publish the site, it leaves my Designer area completely unusable because all the images are shown and unstyled.

Whats the best practice for using scripts that will only affect your content on publish, while keeping the Designer area organised and useable?

Hope that makes sense

Read only site

Thanks

Sam


Here is my site Read-Only: https://preview.webflow.com/preview/amazing-lisboa?utm_medium=preview_link&utm_source=designer&utm_content=amazing-lisboa&preview=dde35fc5dfcf488fd16c8b16eb59513c&workflow=preview
(how to share your site Read-Only link)