How to use Vue.js with jQuery Plugins
Tutorial: How to use Vue.js with jQuery Plugins
Vue.js is becoming top choice for apps and maybe there is a moment when you have to combine it with jQuery or other libraries. Because jQuery works different than Vue it can be difficult to use jQuery plugins with Vue. So read this tutorial to see how you can use them by:
- using Vue directives to build a bridge to jQuery.
- initializing the plugin when the element is attached.
- destroying it when the element is detached.
- sending events to notify the component.
- receiving events from the component and pass them to the plugin.
Read the Post by Christian Gambardella