Jump to content
Search Community

y_springfield

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by y_springfield

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

    	import { Flip } from 'gsap/Flip';

    and compiled the application and it's failing with the error as shown in the image.595397849_Bildschirmfoto2021-06-19um3_35_47PM.thumb.png.11232b8f839ae3b77be01b85855f2345.png
     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.

×
×
  • Create New...