y_springfield
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by y_springfield
-
-
Greetings Everyone, hope you are fine. Please I'm faced with a difficulty.
I just created a basic sveltekit typescript template project.
Immediately installed gsap with flip plugin.
opened index.svelte and imported flip plugin as followsimport { Flip } from 'gsap/Flip';
and compiled the application and it's failing with the error as shown in the image.
I've been unable to resolve it for close to a day now.
Please, can anyone help me on how to import gsap flip plugin in sveltekit properly.
if I import gsap it functions fine but not the flip plugin.
I've tried the solutions outlined here to no avail.
gsap FLIP plugin issues with svelte typescript.
in GSAP
Posted
Hi @OSUblake, thanks for your response. The umd file import method did work.
With respect to the transpile, don't know of that in sveltekit. Will checkout more on it.
Once more, thanks.