Reputation: 13
Currently I am trying to integrate Projects from CodePen that use Velocity.js and I am unable to integrate them in my project. In the main.js file I import velocity from 'velocity-animate'
Any examples out there?
Upvotes: 1
Views: 3533
Reputation: 46
I use it in the following way
import Velocity from 'velocity-animate'
mounted(){
..
Velocity($element,{property: value});
..
}
this in the view that you want to implement.
Upvotes: 3