IvanChen
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by IvanChen
-
-
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".
GSAP3+Vue-cli4
in GSAP
Posted
Thanks for rapid help. It works!