Open nitinjohnson opened 3 years ago
Hi @nitinjohnson! Can you make the diff of html with and without the package enabled? This way we will be able to detect was is causing the issue.
I have face the same issue any of my jquery code not working after enabling this package. What to do please guide us
Have the same problem. When disabling the package it's working fine.
i've same problem, but i try to comment middleware DeferJavascript::class
in Kernel.php and it's work
I faced the same issue with Laravel 10. removing DeferJavascript::class
does not solved the issue for me.
I faced the same issue with Laravel 10. removing
DeferJavascript::class
does not solved the issue for me.
Make sure that jquery.js
is still loaded before your own JavaScript after laravel-page-speed
compressed the page.
For me this initially was not the case anymore, I resolved my issue by moving the JS imports:
<head>
tag<body>
tagAfter that JQuery works properly, together with this package! :tada:
I wanted to minify html output so I have used the renatomarinho/laravel-page-speed package. I have done as per the instruction on its github page https://github.com/renatomarinho/laravel-page-speed. But for some reason now the jquery stopped working after installing this package. I thought this issue was caused due to the comments in javascript file so i have removed all the comments from the js library files that I have included. But still jquery is not working. Please help me out. Please check the attached image.