Jump to content
Search Community

Not sure why ScrollTrigger won't work

thomas.henegar test
Moderator Tag

Recommended Posts

Yeah, that CodePen doesn’t help at all because it looks like you literally just copied and pasted from a local setup, so all your local links are broken. Like you’re trying to do imports but there’s no node_modules to pull from, you’re linking to “./Animation.js” but there is no such file, you didn't load React, etc.

 

If you prefer CodeSandbox or something that's a little easier for React setups, that's fine too instead of CodePen. 

 

We definitely need to see a somewhat functional demo in order to help. 

  • Like 1
Link to comment
Share on other sites

42 minutes ago, GreenSock said:

If you prefer CodeSandbox or something that's a little easier for React setups, that's fine too instead of CodePen. 

CodeSandbox is nice for this because you can integrate with a github repo too, and it can compile react.

There's no node-modules/npm/package.json with the CodePen, so your imports aren't going to import anything.

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