Jump to content


How to load DrawSVG via CDN?

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi guys, new to Greensock so trying to learn as quickly as possible :)
I cannot find anywhere how to load the Draw SVG plugin via a CDN (as it looks like it is not part of the 'tweenmax.js' file which IS shown how to load via CDN in the docs.

Can anyone help please?

Thanks in advance,

Link to comment
Share on other sites

Hi Keith,


Welcome to the GreenSock forums and Club GreenSock!


Putting the bonus plugins on a CDN where anyone could freely use them would remove one of the primary reasons for joining Club GreenSock, the very thing that enables ongoing support and development.  


You can host the bonus plugins on your site just as you would other JavaScript files. 


Let us know if you have any more questions. 

  • Like 3
Link to comment
Share on other sites

Hi @akcreation :)


Welcome the forum and thanks for joining Club GreenSock.


You can grab any available links for the CDN from the GS home page. I sometimes forget which plugins are Club only so I also have this page bookmarked for a quick overview.




Happy tweening and welcome aboard.



  • Like 1
Link to comment
Share on other sites

This may be an even better link to keep on hand: 

See the Pen djXzyR by GreenSock (@GreenSock) on CodePen


Just click the "CDN" button next to any of the classes and you'll get the link copied to your clipboard. And the club-only plugins are clearly laid out there as well, and some common questions are answered at the bottom. :)

  • Like 2
Link to comment
Share on other sites

ha! I was just coming back to this thread to edit my post and add that link after I remembered the new pen. Doh! It's early on the West Coast and my caffeine hasn't kicked in yet. ;) 

  • Like 1
  • Haha 1
Link to comment
Share on other sites

Thanks everyone for your help, it's much appreciated :)
@Carl - it might help to put a notification within the docs that any club plugins cannot be loaded via CDN, as I literally spent 2 or 3 hours searching around for it. What you say does of course make sense (in that a CDN gives access to non paying customers), but for example with Fontawesome5, my CDN link has a customer specific token in it.
Like I say it might just help if you notify clearly in the docs that only the Free plugins can be loaded by CDN.

Thanks again to you all :)

Link to comment
Share on other sites


Yup, we have the GSAP Overview on the docs homepage which shows which tools are on the CDN: https://greensock.com/docs


However, I've also added 2 questions to the FAQs that will be easy to find if anyone searches for CDN: https://greensock.com/faqs/#/Search/CDN/

Hopefully this helps avoid more confusion in the future. Sorry for the frustration. Thanks for the feedback!

  • Like 2
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.