DhavalV Posted October 19, 2023 Share Posted October 19, 2023 Hello, I've gsap installed with the version of 3.12.2 in my Nextjs Project where my Nextjs version is 13.5.5, but I am not able to identify from where to import the ScrollSmoother, I tried to import it like import { ScrollSmoother } from 'gsap/dist/ScrollSmoother but it's throwing an Error for Module Not Found. does anyone can help me with importing the ScrollSmoother plugin from gsap? Link to comment Share on other sites More sharing options...
Solution ryan_labar Posted October 19, 2023 Solution Share Posted October 19, 2023 Hi @DhavalV ScrollSmoother is a Club GSAP plugin so you'll need to import that from GSAP's private NPM. More info here: https://gsap.com/pricing/ and here: https://gsap.com/docs/v3/Installation 1 Link to comment Share on other sites More sharing options...
DhavalV Posted October 19, 2023 Author Share Posted October 19, 2023 Ok 4 minutes ago, ryan_labar said: Hi @DhavalV ScrollSmoother is a Club GSAP plugin so you'll need to import that from GSAP's private NPM. More info here: https://gsap.com/pricing/ and here: https://gsap.com/docs/v3/Installation Ok @ryan_labar, Thanks for the Update. 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