Jump to content
GreenSock

beaukim

i'm having trouble knowing how to use downloaded plugins.

Go to solution Solved by GreenSock,

Recommended Posts

        <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.5.1/gsap.min.js"></script>
        <script src="./MorphSVGPlugin.js"></script>

 

I've paid for the membership, and downloaded the plugins, and put it on my project folder but its not working.

Can somebody help here? (I'm really really really a noob.)

 

btw, it worked remarkably well when code was like this

        <script src='https://assets.codepen.io/16327/MorphSVGPlugin3.min.js'></script>
Link to comment
Share on other sites

  • Solution

Welcome to the forums...and Club GreenSock, @beaukim!

 

It's very difficult to troubleshoot blind, but my guess is that you should be using the minified file (the one named MorphSVGPlugin.min.js) in your setup. I bet you're using the ES Module file. 

 

Or maybe you linked incorrectly to the MorphSVGPlugin file? I'm totally guessing here - did you open your browser's Dev Tools to see if there are any errors?

Link to comment
Share on other sites

Thanks :) I used minified version and problem got fixed.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×