egidiusmengelberg / nuxt-aos

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

Not working #33

Open suchorski opened 1 month ago

suchorski commented 1 month ago

Using nuxt v3.12.2 and nuxt-aos v1.2.4

Failed to resolve dependency: aos, present in 'optimizeDeps.include'

Uncaught SyntaxError: The requested module 'http://localhost:6060/_nuxt/node_modules/.pnpm/lodash.throttle@4.1.1/node_modules/lodash.throttle/index.js?v=cf0afada' doesn't provide an export named: 'default'

Bukunmikuti commented 1 month ago

Same issue here, using the Nuxt module.

suchorski commented 1 month ago

I'm using the AOS library, making a plugin to provide the AOS to useNuxt and initializing in onMounted inside app.vue

egidiusmengelberg commented 1 month ago

yeah having the issue aswell. even after updating the package. still figuring out how to fix it.

when developing the module everything works fine. Maybe using nuxt layers instead of modules is a better idea