Open giticon opened 3 years ago
I think having a gsap module in nuxt is very important given its widespread use.
I think it’s very convenient to record gsap globally so you can use it anywhere (components, animation files, page transition)
I find it very good on the DX side to be able to register the gsap plugins from the nuxt config like this:
gsap: {
plugins: ['ScrollTrigger']
}
@LucaArgentieri there is an nuxt-gsap module, https://github.com/hypernym-studio/nuxt-gsap I don't if it supports what you've asked but it is worth checking
https://github.com/ivodolenc/nuxt-gsap-module