Jump to content
Search Community

How to install?

LSchneiderman test
Moderator Tag

Recommended Posts

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!

  • Like 1
Link to comment
Share on other sites

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

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.
×
×
  • Create New...