egidiusmengelberg / nuxt-aos

A Nuxt module that adds Animate On Scroll
https://www.npmjs.com/package/nuxt-aos
MIT License
67 stars 5 forks source link

Does not provide an export named 'default' error #4

Closed JeremyMees closed 10 months ago

JeremyMees commented 1 year ago

I've created reproduction for the issue. It's just a clean nuxt 3.7 install and i followed the documentation to install nuxt-aos. The page does not load anymore

egidiusmengelberg commented 1 year ago

I tried to fix it but it didn't work. Seems to be an issue with importing aos. Because it does not have a export.

I'll keep trying to fix it.

JeremyMees commented 1 year ago

I installed aos@next directly without the nuxt module and that worked. So it seems to me that's not the problem. But yeah I could be wrong because I'm no expert on this.

egidiusmengelberg commented 1 year ago

Yeah thats weird. I tried it with aos@next. But that didn't work. Still investigating.

egidiusmengelberg commented 1 year ago

There is a PR ready to be merged at the AOS library, https://github.com/michalsnik/aos/pull/423. But it seems the project is dead. Last update was 5 years ago. I'll try and email the author next week. If that doesn't work I could create a fork and update it myself. But that would not be a elegant solution. Anybody any ideas?

Islam8Bahaa commented 11 months ago

You can try this nuxt3-aos Its working good

egidiusmengelberg commented 10 months ago

Fixed in v1.2.2