1 year ago

Laravel - js sections of different blade files making conflict

Posted 1 year ago by hsntngr

I have two blade file and both of them has js section. But in the browser, shows only comments js files not single. I need to use both js files.

Here are blade files in a nutshell


// php and html codes
 // js codes of comments blade


 // html and php codes 
 // js codes of single blade

Why there are conflict between two blade file ? And how do I fix it ?

Please sign in or create an account to participate in this conversation.