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
Failed to resolve directive: auto-animate #169
Comments
Are you using composition api? |
Yes I am! |
Hmm. Then I would need to see a reproduction. |
I found out why it didn't work. I made a small new project and tried to reproduce it. The difference was I am using the 'old' composition api with the setup function like this:
I need to refactor to something like this to get it to work:
So put the setup keyword inside the script tag. I will try to refactor this on my main project as well. |
I just updated the plugin used in my Vue.js application. (running Vite)
I'm using auto-animate to animate a custom component (which is a list item). After the update I get a bunch of the following warning:
The animation also doesn't work anymore.
I import using this line:
import { vAutoAnimate } from '@formkit/auto-animate';
Then in my template the following code:
<Voslocatie .../> is my custom component containing a template with
<li>
In my package.json i made sure to use version 0.8.0 (removed the package from the node_modules folder and reinstalled with npm install)
"@formkit/auto-animate": "^0.8.0",
I can't figure out what is going wrong. Could you please help me out? Thanks!
The text was updated successfully, but these errors were encountered: