-
Notifications
You must be signed in to change notification settings - Fork 56
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
ES Module issue with Nuxt 3 #106
Comments
I'm also facing the same issue. Tried adding a module to build transpile in nuxt config but that didn't work:
|
This should work:
|
This worked perfectly, thank you! Probably something worth adding to the docs. |
it's actually an issue with ESM compatibility and should be fixed by the animxyz-authors as described here: https://v3.nuxtjs.org/guide/going-further/esm#library-author-guide |
In that case, reopening for visibility |
This didn't work for me at all. Can you please explain how you got this running with nuxt3? It seems like it's just using the css but attributes like "appear" or "appear-visible" don't have any effect. I'm using nuxt 3.7.4 btw and animxyz/vue3 0.6.7 |
The link posted by @codeflorist above changed location. |
In the current Nuxt 3 version, v3.0.0-rc.6, trying to import @animxyz/vue3 causes a warning and the server to stall out.
Steps I took:
init a new Nuxt 3 project with nuxi.
run yarn add @animxyz/vue3.
Then I added this code to the /plugins folder:
When the server is launched, the message in the console reads:
It then stalls out for a while. After a few minutes, the console shows this and crashes:
The text was updated successfully, but these errors were encountered: