I install gsap-bonus.tgz with Vue-cli 4 and follow the tutorial. Then setting up as bellow.
//main.js
import gsap from "gsap";
//Home.vue
let obj = document.getElementById("test");
gsap.from(obj,1,{opacity:0.1,y:30})
I used gsap in my component but got "ReferenceError: gsap is not defined".