Jump to content
Search Community

Imports not working on my project?

Adan Rodriguez test
Moderator Tag

Recommended Posts

I was afraid of this working on codesandbox.io even though this is essentially how I have it set up in my project. Here's the link: 

https://codesandbox.io/s/reverent-rubin-heef92?file=/src/animations/added.js

Here are some snapshots of my real project and the errors I'm getting: 

 

importing the "tl" just as a test to see if it passed through:

importSnapShot.jpg

 

This is the index.html file:

CDNsnapshotInMyHtml.jpg

 

 

addedJs.jpg

 

 

fileStructure.jpg

 

 

Errors.jpg

Link to comment
Share on other sites

Hi @Adan Rodriguez. Sorry, but this doesn't really look like a GSAP-related question. Those errors are about module loading in your local environment, possibly related to your build system. That's definitely not my area of expertise, sorry. Maybe someone else has ideas to share. We're happy to answer any GSAP-specific questions around here. 

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