Jump to content
Search Community

Error importing MorphSVGPlugin in Vue3 class-style TypeScript component

PeterArbeitsloser test
Moderator Tag

Go to solution Solved by OSUblake,

Recommended Posts

I have a very basic Vue 3 Typescript app running with class-style components.

Following the instruction page, I downloaded the club member gsap ZIP file, pasted in `./src/` and import it as recommended.

But I'm getting this error:

Module not found: Error: Can't resolve 'gsap/MorphSVGPlugin' in /path/to/component

 

354542616_Screenshot2022-04-13at11_36_33.thumb.jpg.fbea85bb394c488811b0021204bb502f.jpg

 

How do I properly import the MorphSVGPlugin?

 

P.S.: I am sorry for not providing a codepen but my setup (TypeScript with class-style components) isn't available.

 

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