Installieren und importieren Sie GSAP in Vue
mport Vue from "vue";
import App from "./App.vue";
import gsap from "gsap";
import ScrollTrigger from "gsap/ScrollTrigger";
gsap.registerPlugin(ScrollTrigger);
Vue.mixin({
created: function () {
this.gsap = gsap;
}
});
Uptight Unicorn