Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
andrewandopen

How to activate draw SVG plugin?

Recommended Posts

Hi, just signed up to a GS membership to use the drawSVG plugin, but having trouble getting it working. 

I'm loading tweeMax from a cdn first and then after it link to the drawSVG script file, but it's not working ...

Screenshot 2020-02-13 at 17.14.27.png

Share this post


Link to post
Share on other sites

Hey Andrew. Welcome to the GreenSock forums and Club GreenSock! We're so glad you decided to join us.

 

I'm betting that there are two issues at play here:

  1. DrawSVGPlugin that you're using is likely for GSAP version 3 but you're loading GSAP 2. So load GSAP 3 instead: https://cdn.jsdelivr.net/npm/gsap@3.1.1/dist/gsap.min.js
    Alternatively, you can download the GSAP 2 version on your account dashboard
  2. Make sure the DrawSVGPlugin file name is correct (and the path to it is also correct if necessary). The default name of the file is DrawSVGPlugin.min.js, so unless you changed it, that also needs to be changed.

I also recently made a video to help you get things up and running (soon to be public but here's a sneak peak): 

 

 

I highly recommend our installation page for more details.

  • Like 3

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×