Laravel app.js Conflicts with another min.js file
Laravel app.js Conflicts with another min.js file
rot2rick
Posts: 8Questions: 2Answers: 0
Hi i have the same problem as @kthorngren, and at home it disables my bootstrap template js file and nothing works like before, no power button, divs are shifted, but when i comment out the src = "{{asset ('js / app.js')}}" defer> </script>
everything is working fine.
With src = "{{asset ('js / app.js')}}" defer> </script>
without src = "{{asset ('js / app.js')}}" defer> </script>
This discussion has been closed.
Answers
Can you give me a link to the page showing the issue please? Are there any errors shown in your browser's console?
Thanks,
Allan
Looks like this thread and this one are the same.
Allan
@allan , here are the errors im getting in the console
Uncaught ReferenceError: jQuery is not defined
,Uncaught TypeError: a is not a function
,Uncaught ReferenceError: $ is not defined
,Uncaught ReferenceError: PerfectScrollbar is not defined
See this SO thread. Sounds like you are missing or have out of order JS include files.
Kevin
@kthorngren, @allan
Thank you but the link didn't help me.
i using
Laravel 8
withVuejs
Here is my
app.blade.php
As you can see, if i comment
src = "{{asset ('js / app.js')}}" defer> </script>
i ll get the image 2, if leave it i ll get the image1 and with a total dysfunctional of all the template, the tips, the menus, nothing works.I'm not familiar with Laravel but did you try what mixmaster suggested in the other thread you posted in?
In addition it sounds like you might need to include jquery.js. If this doesn't help then, as Allan asked, please post a link to your page for debugging.
Kevin