Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Cannot Read 'elm' on fresh install with Vue 3 #5

Open
Juan-DesignStudio opened this issue Jan 15, 2021 · 2 comments
Open

Error Cannot Read 'elm' on fresh install with Vue 3 #5

Juan-DesignStudio opened this issue Jan 15, 2021 · 2 comments

Comments

@Juan-DesignStudio
Copy link

I tried using it and I get this error using vue3 with Vite / TailwindCSS installed fresh

Uncaught TypeError: Cannot read property 'elm' of undefined
at Proxy.mounted (vue-aos.js:3478)

@mzy2240
Copy link

mzy2240 commented Jun 2, 2022

Have u found a solution yet?

@Juan-DesignStudio
Copy link
Author

Juan-DesignStudio commented Jun 2, 2022

I end up just importing normal AOS into the app.js

import AOS from 'aos';
import 'aos/dist/aos.css';

and was able to use it just fine in vue with the data-aos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants