LSchneiderman Posted August 27, 2021 Share Posted August 27, 2021 We just bought Club Greensock BusinessGreen. But how do we install this? We don't have npm or yarn. We need to download it to our laptop/PCs and to our production server. We basically just want the DrawSVG plugin. How do we do this? Link to comment Share on other sites More sharing options...
GreenSock Posted August 27, 2021 Share Posted August 27, 2021 Welcome aboard, @LSchneiderman! Thanks for joining the club. 🎉  There are tons of ways you can install GSAP - here's a detailed guide: https://greensock.com/install  In its most basic form, all you've gotta do is snag the DrawSVGPlugin.min.js file from the minified folder, drop it on your server anywhere you want, and then use a <script> tag that points to it like <script src="https://yourdomain.com/js/gsap/gsap.min.js"></script> <script src="https://yourdomain.com/js/gsap/DrawSVGPlugin.min.js"></script> <script> // your code here... </script> Have fun! 1 Link to comment Share on other sites More sharing options...
LSchneiderman Posted August 27, 2021 Author Share Posted August 27, 2021 @Jack What about the token, though? Link to comment Share on other sites More sharing options...
GreenSock Posted August 27, 2021 Share Posted August 27, 2021 You only need the token for accessing the private NPM repository, but that's entirely optional. Some people just have workflows that make using an NPM repo (for updates) very convenient, that's all. But you can just use the minified files from the download and skip that.  Our entire business model relies on the honor system - the minified files don't look for a certain token or ping our server for authentication or anything like that. We trust you.  Have fun! Link to comment Share on other sites More sharing options...
LSchneiderman Posted August 30, 2021 Author Share Posted August 30, 2021 Thank you, @Jack!! 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