import $ from “jQuery”;
window.$ = window.jQuery = $;
if(window.jQuery && window.$) { const somePlugin = import(“pathtoplugin”); }
Или
if(window.jQuery && window.$) { const somePlugin = require(“pathtoplugin”); }
...
mounted: function(){
$('#selector').somePlugin({
// ... настройки плагина
});
}
...