nuxt-gsap icon indicating copy to clipboard operation
nuxt-gsap copied to clipboard

Compatible with NuxtJS 3?

Open maximilian-schwarz opened this issue 3 years ago • 7 comments

Is it compatible with Nuxtjs 3?

maximilian-schwarz avatar Dec 15 '21 20:12 maximilian-schwarz

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.

ivodolenc avatar Dec 16 '21 13:12 ivodolenc

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 .

bonomite avatar Dec 21 '21 12:12 bonomite

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

ivodolenc avatar May 08 '22 15:05 ivodolenc

and know??????

davidschubert avatar Aug 23 '22 13:08 davidschubert

@davidschubert ??

ivodolenc avatar Aug 23 '22 15:08 ivodolenc

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?

davidschubert avatar Aug 24 '22 12:08 davidschubert

@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.

ivodolenc avatar Aug 24 '22 16:08 ivodolenc

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 🙂

BenjaminOddou avatar Nov 16 '22 18:11 BenjaminOddou

♥️

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: @.***>

bonomite avatar Nov 16 '22 18:11 bonomite

@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.

ivodolenc avatar Nov 16 '22 21:11 ivodolenc

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: @.***>

bonomite avatar Nov 16 '22 21:11 bonomite

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.

khaledOghli avatar Nov 19 '22 06:11 khaledOghli

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

leosin avatar Dec 17 '22 04:12 leosin

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.

ivodolenc avatar Dec 17 '22 14:12 ivodolenc

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

andresclua avatar Dec 22 '22 22:12 andresclua

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

ivodolenc avatar Dec 23 '22 16:12 ivodolenc

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!

ivodolenc avatar May 03 '23 21:05 ivodolenc