Open
Description
Description
gsap-nuxt-module
I created gsap-nuxt-module to simplify the integration of GSAP and its plugins into Nuxt projects. The goal is to make GSAP globally available while dynamically importing only the required plugins, as specified in the configuration file.
I’m sharing this with the Nuxt and Vue community as a way to give back—these technologies have given me a lot, and I hope this module can help others speed up their workflow.
Additionally, this could be a great opportunity to find new contributors! 😄
🔥 Key Features
- Effortless GSAP Integration – No need for manual imports, just configure and use.
- Dynamic Plugin Loading – Only load the GSAP plugins you need, optimizing performance.
- Improved Developer Experience (DX) – Provides typed composables for every plugin.
🎯 Future Plans
I’d love to expand this module by incorporating other GSAP-related packages, such as v-gsap, to provide a more complete animation toolkit for Nuxt developers.
Repository
https://github.com/LucaArgentieri/gsap-nuxt-module
npm
https://www.npmjs.com/package/gsap-nuxt-module
Nuxt Compatibility
Nuxt 3