Can someone help me with the correct way to install and use Gsap and Scroll Magic?
I’ve added them both fine with yarn add its just linking it up.
import TweenMax from 'gsap/src/minified/TweenMax.min'; import ScrollMagic from 'scrollmagic/scrollmagic/uncompressed/ScrollMagic'; import 'scrollmagic/scrollmagic/uncompressed/plugins/animation.gsap.min';
I just get left with not defined errors or can’t resolve espically with gsap am I installing these wrong?
Can't resolve 'scrollmagic/scrollmagic/uncompressed/plugins/animation.gsap.min
I’m just getting used to webpack from sage 8 is there anywhere recommended to learn this stuff? its frustrating how some of the scripts just work and others seem a pain?
I was trying to follow this: https://github.com/roots/docs/blob/sage-9/sage/theme-development-and-building.md#3rd-party-packages