I have started using Webpack and I have installed VelocityJS(velocity-animate) from NPM.
I am importing it like this
import Velocity from 'velocity-animate';
but I don't really know how to use it.
For example ... How would I write this?
$('.secondary-content').velocity({translateX: '0%'});
I have tried this but it did not work.
Velocity.$('.secondary-content').velocity({translateX: '0%'})