GSAP with finsweet dev starter repo

Hi there! I am using the finsweet dev starter for my repo on my webflow site. now i want to integrate some animations and work with gsap. should i npm install or use it via cdn? somehow it doesnt work when i npm install it. i also checked with cdn. alos didnt work. what should i consider to get gsap running here?
4 Replies
AtomicZBRA
AtomicZBRA•5mo ago
When you npm install, it makes it useable in your project, but then you'll still have to import the functions you want to use into your file where you're writing the functions, but it sounds like there's a lot of moving parts here, do you have the repo posted somewhere where I could take a look at it? or is it a private repo
AtomicZBRA
AtomicZBRA•5mo ago
This is like how you would use these specific functions in a file^
No description
jakobvarenbud
jakobvarenbud•4mo ago
Hi and sorry for my late reply! I was stuck with some other issues and topics. Thanks for the hint! I totally forgot to import :`)
AtomicZBRA
AtomicZBRA•4mo ago
No problem! Hope this helps, but let me know if you run into any other issues 🙂