Jump to content


Importing Draw SVG in React doesn't seem to be working

Recommended Posts

I haven't had this problem with other plugins apart from Draw SVG, I'm not sure what I am doing wrong, the import directory is correct and the code I am using has worked on other projects.


It seems to be out of scope because the line - import drawSVG from "gsap/dist/DrawSVGPlugin"; is not highlighting, it remains greyed out.


And of course the animation is not working. I have taken a screenshot



Screenshot 2020-10-12 at 18.00.01.png

Link to comment
Share on other sites

Thanks a lot, I've been getting stressed out with work today and you just saved my day!

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