Share Posted August 2, 2018 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, Keith Link to comment Share on other sites More sharing options...
Share Posted August 2, 2018 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. 3 Link to comment Share on other sites More sharing options...
Share Posted August 2, 2018 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. https://cdnjs.com/libraries/gsap Happy tweening and welcome aboard. 1 Link to comment Share on other sites More sharing options...
Share Posted August 2, 2018 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. 2 Link to comment Share on other sites More sharing options...
Share Posted August 2, 2018 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. 1 1 Link to comment Share on other sites More sharing options...
Author Share Posted August 3, 2018 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 More sharing options...
Share Posted August 3, 2018 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! 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now