user10410056
user10410056

Reputation: 13

How to integrate a Vue project with Velocity.js , any examples?

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

Answers (1)

d0naldo
d0naldo

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

Related Questions