Jump to content
Search Community

iant1359

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by iant1359

  1. Hello,

    Nice to meet you all. I'm new to GreenSock and I'm looking for a way to set up and run this demo https://codepen.io/GreenSock/pen/rOjeRq on CodeSandBox with the trial MorphSVGPlugin URL. Still, I cannot find anyway to run it.

    I'm using the Gatsby starter template. https://codesandbox.io/s/testgreensock-11cr1

    Here are the few things that I've tried:

    - Add the MorphSVGPlugin3.min.js as an external URL

    - And try this but get error "Can't resolve 'gsap/MorphSVGPlugin' or 

    import { MorphSVGPlugin } from "gsap/MorphSVGPlugin"
     
    gsap.registerPlugin(MorphSVGPlugin)

    - I also tried to add the url to Helmet

    But it still does not work.

    Please anyone can help me set this up?

     

    See the Pen rOjeRq by GreenSock (@GreenSock) on CodePen

×
×
  • Create New...