hypernym-studio / nuxt-gsap

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

Compatible with NuxtJS 3? #24

Closed maximilian-schwarz closed 1 year ago

maximilian-schwarz commented 2 years ago

Is it compatible with Nuxtjs 3?

ivodolenc commented 2 years ago

Hi, I think Nuxt3 is still in beta, so let's wait for the first official production version (it is possible that some part of the code or feature will change until the final version so there's no need to rush).

After production-ready release, I will adjust the module according to official guidelines to support the latest version of Nuxt.

Just to note, the module works fine in Nuxt2 projects, and to be honest, I haven't tested it in Nuxt3 version yet 😃

For now, you can manually import gsap to yourNuxt3 project.

bonomite commented 2 years ago

Thanks for the update.

On Thu, Dec 16, 2021, 8:03 AM Ivo Dolenc @.***> wrote:

Hi, I think Nuxt3 is still in beta, so let's wait for the first official production version (it is possible that some part of the code or feature will change until the final version so there's no need to rush).

After production-ready release, I will adjust the module according to official guidelines to support the latest version of Nuxt.

Just to note, the module works fine in Nuxt2 projects, and to be honest, I haven't tested it in Nuxt3 version yet 😃

For now, you can manually import gsap to your Nuxt3 project.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ivodolenc/nuxt-gsap-module/issues/24#issuecomment-995795968, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJJ6T6GFB5XDS5ABLUVRJLURHPRNANCNFSM5KERCF5Q .

ivodolenc commented 2 years ago

I reopening this for others to see. The module is still not compatible with nuxt3 since there is no production-ready version.

davidschubert commented 2 years ago

and know??????

ivodolenc commented 2 years ago

@davidschubert ??

davidschubert commented 2 years ago

Sorry :-) my question is:

Is it compatible with Nuxtjs 3? Or better question. When are you starting to get it compatible with nuxt 3? there is already the release candidate of nuxt3 in v8. It would be just great to use this module.

Or do you have any other idea how to implement gsap3 with smoothscroller into nuxt3?

ivodolenc commented 2 years ago

@davidschubert Ok, just in case, I'll bump this comment and this comment above.

...

Hi, I think Nuxt3 is still in beta, so let's wait for the first official production version (it is possible that some part of the code or feature will change until the final version so there's no need to rush).

After production-ready release, I will adjust the module according to official guidelines to support the latest version of Nuxt.

...

I reopening this for others to see. The module is still not compatible with nuxt3 since there is no production-ready version.

...

For now, you can manually import gsap to your Nuxt 3 project.

As for ScrollSmoother i suggest you read official Gsap guidelines and video how to implement it inside your project.

Also, you can use it with nuxt-gsap-module but in Nuxt 2 projects. Keep in mind that ScrollSmoother is a Club Premium plugin.

BenjaminOddou commented 1 year ago

I reopening this for others to see. The module is still not compatible with nuxt3 since there is no production-ready version.

Hello @ivodolenc ! 👋 The first version of Nuxt 3 was released today. Will you plan to update this module to be compatible with Nuxt 3 ? GSAP is overall compatible with Nuxt 3 already but I think there is room for improvement. Your module is already used and super appreciated by Nuxt 2 users, and I am pretty sure that it will be loved with Nuxt 3 🙂

bonomite commented 1 year ago

♥️

On Wed, Nov 16, 2022, 1:30 PM Benjamin Oddou @.***> wrote:

I reopening this for others to see. The module is still not compatible with nuxt3 since there is no production-ready version.

Hello @ivodolenc https://github.com/ivodolenc ! 👋 The first version of Nuxt 3 was released today. Will you plan to update this module to be compatible with Nuxt 3 ? GSAP is overall compatible with Nuxt 3 already but I think there is room for improvement. Your module is already used and super appreciated by Nuxt 2 users, and I am pretty sure that it will be loved with Nuxt 3 🙂

— Reply to this email directly, view it on GitHub https://github.com/ivodolenc/nuxt-gsap-module/issues/24#issuecomment-1317488485, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJJ6TZZEBAYP3ZUVZ7LJFDWIUR4FANCNFSM5KERCF5Q . You are receiving this because you commented.Message ID: @.***>

ivodolenc commented 1 year ago

@BenjaminOddou Hi and thanks for your interest. Yes, I'm definitely planning to add support for Nuxt 3, not only for the gsap-module, but also for all the other open source nuxt modules on my profile.

I can't promise an exact date since the new version brings significant changes and a lot of code needs to be rewritten (also the new modules require typescript support), but hopefully soon.

Also, need to see how to handle this in the best way since version 2 and 3 are not compatible. I would like to keep support for version 2 if possible.

bonomite commented 1 year ago

Appreciate all your hard work!

On Wed, Nov 16, 2022, 4:08 PM Ivo Dolenc @.***> wrote:

@BenjaminOddou https://github.com/BenjaminOddou Hi and thanks for your interest. Yes, I'm definitely planning to add support for Nuxt 3, not only for the gsap-module, but also for all the other open source nuxt modules on my profile.

I can't promise an exact date since the new version brings significant changes and a lot of code needs to be rewritten (also the new modules require typescript support), but hopefully soon.

Also, need to see how to handle this in the best way since version 2 and 3 are not compatible. I would like to keep support for version 2 if possible.

— Reply to this email directly, view it on GitHub https://github.com/ivodolenc/nuxt-gsap-module/issues/24#issuecomment-1317670637, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJJ6TYPJJTUZCFVAYETJYDWIVEORANCNFSM5KERCF5Q . You are receiving this because you commented.Message ID: @.***>

khaledOghli commented 1 year ago

Hi @ivodolenc , Thanks for a great package it's awesome, and me too I hope you will find time to upgrade it to nuxt 3.

leosin commented 1 year ago

Is there any way to import gsap globally, before the gsap module for nuxt3 upgrade?

ivodolenc commented 1 year ago

Is there any way to import gsap globally, before the gsap module for nuxt3 upgrade?

At this point, no. To work properly in Nuxt 3, the module needs to be completely rewritten in typescript, and this takes a lot of time, mostly for docs, types, and examples.

I don't have much time to do it for free at the moment. If enough people can be gathered who would like to sponsor this project, I am willing to invest the time to update it to the latest version with proper support.

Please understand that I also need to somehow compensate for the time spent on this project. Anyway, thank you all for your interest.

andresclua commented 1 year ago

hey @ivodolenc , open to support / help you out if needed.

ivodolenc commented 1 year ago

@andresclua Thanks for the offer, I appreciate it. I'll tag you here when I need it 👍

ivodolenc commented 1 year ago

Hi guys, I finally updated the module so feel free to try the new version.

The module is optimized and supports nuxt 3 with typescript. Have fun!