Share Posted October 4, 2018 Hello, I'm facing some issues with MorphSVGPlugin. I want to use it on the index.html file of my Angular 6 project. The problem is that if I import the file in the script section of my angular.json it breaks the other scripts. I have tried to import it directly on the file with the <script> tag but Angular is not able to find it. Is there any way to use it on index.html? Thanks!!! Link to comment Share on other sites More sharing options...
Share Posted October 4, 2018 I'm sure you can use GSAP in Angular, absolutely. Unfortunately, I have zero Angular experience so I can't say exactly how but perhaps this article will help: https://medium.com/@philipf5/patterns-for-using-greensock-in-angular-9ec5edf713fb Link to comment Share on other sites More sharing options...
Author Share Posted October 5, 2018 Thanks!!! I had to import the UMD version. It is working now. 1 Link to comment Share on other sites More sharing options...
Share Posted October 5, 2018 Excellent. Thanks for reporting back. Glad you got it working. 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