Skip to content

nuxt3 and gsap #94

Answered by logotip4ik
davidschubert asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

And thank you for great questions 😄

When I began working on this website, there wasn't such a thing as SmoothScroller yet. But currently I think I should have a look at such a cool tool and test it in some little pens

Secondly, I haven't written any blog posts or tutorials yet. But briefly. I was facing 2 main issues with gsap and nuxt3. First one was not being able to import plugins as in normal client only websites. Second one was, how to register gsap plugins as soon as possible and call register function only once.

For the first one, it took me a while to find a solution to this problem, but it was quite a simple one. You just need to transpile the gsap itself 😅. Nuxt3 has comp…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by logotip4ik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #93 on August 27, 2022 15:37.