How to add GSAP
Astro ^4.0.0
You can easily add GSAP to your Astro project!
-
Start by installing the
gsap
package using your favorite package manager: -
You can now import it into your project inside a
script
in any.astro
file: -
That’s it, you’re all set up to use GSAP in your project!
To learn more about GSAP, check their official site or their docs: