hypernym-studio / nuxt-gsap

GSAP module for Nuxt.
MIT License
292 stars 12 forks source link

GSAP - Types error #47

Closed ivodolenc closed 1 year ago

ivodolenc commented 1 year ago

Discussed in https://github.com/hypernym-studio/nuxt-gsap/discussions/46

Originally posted by **GuillaumeDgr** May 18, 2023 Hi, Could you pls provide a small example of effect with scroll trigger (fade in effect for example / with Nuxt 3)? I cannot make this work... Many thanks. nuxt.config.js : `modules: [ "@hypernym/nuxt-gsap", ], gsap: { extraPlugins: { scrollTrigger: true, }, },` Component : ```

Test

Test

``` No effect is working and error is shown : "Property 'getById' does not exist on type '_ScrollTrigger'. Did you mean to access the static member '_ScrollTrigger.getById' instead?Vetur(2576)" Thanks