I'm trying to load a jquery plugin in vuejs but nothing seems to be doing the trick.
I have
window.$ = window.jQuery = require('jquery');
// Plugin I'm trying to load
require('jcanvas');
The above part seems to work correctly (I think), but however when I try to use the plugin
$('canvas').drawArc({
fillStyle: '#000',
x: 100, y: 100,
radius: 50
});
It throws drawArc Is not a function error
which seems like the plugin has not bee loaded in correctly or its not accessible.