Only load scripts if block is in use?
-
Is there any way to adjust settings so the scripts for this block only load on pages that include the block?
We’re trying to avoid loading these 3 scripts on the homepage, which does not use the panorama block:
/panorama-block/assets/js/three.min.js /panorama-block/assets/js/panorama.min.js /panorama-block/dist/script.js
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Only load scripts if block is in use?’ is closed to new replies.