Closed minotogna closed 7 years ago
same issue here..
https://github.com/itsjavi/bootstrap-colorpicker/blob/master/dist/js/bootstrap-colorpicker.js#L15
// module.exports = factory(global.jQuery, global); doesnt work
module.exports = factory(window.jQuery, window); works
still need a decent solution.
fixed in v2.5.0
I have installed the plugin using
npm install bootstrap-colorpicker --save
and included in the module with requirerequire( 'bootstrap-colorpicker' )
However I got the following error
Is there any configuration I'm missing (jquery is included as global object with $ )?