Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Eugene Rayner

How to install scrolltrigger via npm

Recommended Posts

Hey there, just wondering how I can install scrolltrigger plugin via NPM?

 

I already have gsap installed, but when I go to use ScrollTrigger, it doesn't know what it is.

 

So I assuming I need to install the plugin ScrollTrigger but I am having trouble with it.

 

Any help greatly appreciated.

 

Thanks!

Link to comment
Share on other sites

lol just found it, please lock/delete this post :)

  • Like 1
Link to comment
Share on other sites

Yeah and for anyone else looking to load specific plugins - follow Cassie's link -> click install helper -> click the NPM tab -> select the plugin you want -> copy the code it producers :)

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.
×