Dabeed Posted December 14, 2021 Share Posted December 14, 2021 On Wordpress: Everything appears to be loading: Code in custom-gsap.js: If I don't register MotionPathHelper the animation runs fine. If MotionPathHelper is registered, the animation does not run and I get this: Those two issues being: Not sure if I need to somehow enqueue the files in /utils/, but regardless MotionPathHelper itself is still undefined. I'm guessing this has something to do with Wordpress so I don't have a codepen set up (I assume it works there fine). I do have this up on a staging site and can provide access if that will help. Wondering what I need to do so MotionPathHelper is actually recognized, and then also what I may need to do to make sure it can see/load the /utils/ files. Thank you! Link to comment Share on other sites More sharing options...
Solution OSUblake Posted December 14, 2021 Solution Share Posted December 14, 2021 Hi Dabeed, It looks like you are using the ES Modules version of the file, when you should be using the file inside minified folder. Link to comment Share on other sites More sharing options...
Dabeed Posted December 15, 2021 Author Share Posted December 15, 2021 Oops! That was it! Thank you! 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