AmirMustafa / Image-Cropper-AJAX-Laravel-5.4

This project is developed in Laravel 5.4
MIT License
5 stars 3 forks source link

conflict with jquery 3.2.1 version (laravel 5.4) #2

Open geethu-infodynamics opened 7 years ago

geethu-infodynamics commented 7 years ago

I'am using bootstrap tab panel. in one of the tab i need thie image cropping functionality, but i'am getting this error 'Uncaught TypeError: $(...).croppie is not a function' even though i added your css and js.The layout for the main page contains css, js files for jquery 3.2.1

AmirMustafa commented 7 years ago

Did you extract the vendor file zip, because vendor contains actual files. Try to use jquery once in your project. This error was removed by using stable version of jquery once in header

AmirMustafa commented 7 years ago

Hope this will help! Good Luck !!

geethu-infodynamics commented 7 years ago

I'am using jquery 3.2.1, default with laravel 5.4. I installed your package using composer, and it should be that way no manual instaqllations...

On Sun, Jul 16, 2017 at 8:27 PM, Amir Mustafa notifications@github.com wrote:

Hope this will help! Good Luck !!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AmirMustafa/Image-Cropper-AJAX-Laravel-5.4/issues/2#issuecomment-315614741, or mute the thread https://github.com/notifications/unsubscribe-auth/AX5JhIeLP4eSxzbkgSGFdcKE_EdOU7jQks5sOiTrgaJpZM4OX4zH .