Jump to content
Search Community

installing gsap in react

yannick love test
Moderator Tag

Recommended Posts

Hi,

I'm finishing up a course on react and will eventually want to use gsap with react. In the docs here in greensock.com it says that to install gsap in react project we can just do

npm instal gsap 

But what about installing some of the premium plugins? how will that be done with react? the docs in here don't seem to address that. 

thanks. also if anyone can recommend where i can found an uptodate course dealing specifically on using gsap with react that'll be great.

Link to comment
Share on other sites

Hi @yannick love and welcome to the GreenSock forums!

 

You can try the bonus plugins on your local environment or in Codesandbox and Stackblitz by installing the GSAP Trial package:

https://www.npmjs.com/package/gsap-trial

 

Just run:

npm install --save gsap-trial

If you purchase a Club GreenSock membership, then you can generate a private NPM token in order to safely install and deploy the bonus plugins as mentioned in the docs:

https://greensock.com/docs/v3/Installation#npm-club

 

Let us know if you have more questions.

 

Happy Tweeniing!

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