Simply add gsap-trial to your dependencies or fork this template.

When you're ready, sign up for Club GreenSock to get access to plugins that run anywhere. Happy tweening!

      
          // Import the core library
          import gsap from "gsap-trial";

          // Then import the plugins you need
    
          // Club GreenSock Plugins:
          import { ScrollSmoother } from "gsap-trial/ScrollSmoother";
          import { DrawSVGPlugin } from "gsap-trial/DrawSVGPlugin";
          import { GSDevTools } from "gsap-trial/GSDevTools";
          import { InertiaPlugin } from "gsap-trial/InertiaPlugin";
          import { MorphSVGPlugin } from "gsap-trial/MorphSVGPlugin";
          import { MotionPathHelper } from "gsap-trial/MotionPathHelper";
          import { Physics2DPlugin } from "gsap-trial/Physics2DPlugin";
          import { PhysicsPropsPlugin } from "gsap-trial/PhysicsPropsPlugin";
          import { ScrambleTextPlugin } from "gsap-trial/ScrambleTextPlugin";
          import { SplitText } from "gsap-trial/SplitText";

          // Publicly available Plugins
          import { ScrollTrigger } from "gsap-trial/ScrollTrigger";
          import { Flip } from "gsap-trial/Flip";
          import { Observer } from "gsap-trial/Observer";
          import { CSSRulePlugin } from "gsap-trial/CSSRulePlugin";
          import { Draggable } from "gsap-trial/Draggable";
          import { EaselPlugin } from "gsap-trial/EaselPlugin";
          import { MotionPathPlugin } from "gsap-trial/MotionPathPlugin";
          import { PixiPlugin } from "gsap-trial/PixiPlugin";
          import { TextPlugin } from "gsap-trial/TextPlugin";
          import { ScrollToPlugin } from "gsap-trial/ScrollToPlugin";
          
          // don't forget to register plugins
          gsap.registerPlugin(ScrollTrigger, DrawSVGPlugin, MotionPathPlugin); 
      
    

read more about GSAP-trial