Closed aliqasemzadeh closed 5 years ago
I am not sure how you integrate the plugin or what version are you using, but for what you say you are assigning it to the window object instead of the jQuery object.
Closing, because it's not a bug.
@itsjavi I see only color poppers.Check image:
Hello, I am using laravel 5.8 (https://github.com/pcshiraz/ecommerce) and I want to use boostrap colorpicker.
I add
window.colorPicker = require('bootstrap-colorpicker');
to app.js and call a function$('.color').colorpicker();
but I get16:314 Uncaught TypeError: $(...).colorPicker is not a function
and it doesn't work.