Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi! Has anyone had any experience with using GSAP in their custom shopify themes?
I am trying to use the MorphSVG plugin but can't seem to import it correctly. I have added the MorphSVGPlugin.min.js file to my assets folder and importing it as below but doesn't seem to be working
<script src="{{ 'MorphSVGPlugin.min.js' | asset_url }}" defer="defer"></script>
Any advice would be super helpful!
Thanks
Haven't tried with antyhing from gsap, but what do you mean by doesn't seem to be working?
can you console.log from the file when it loads? do you get any console erors when it loads? What have you tried to diagnose the problem so far?
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025