I am finding that if I have specific javascript for a template, I need to actually render it with my overall scripts.js file, not just as a snippet on that particular template. Is there any way to do this in laravel by default?
So append all javascript in the template to the scripts.js file that is compiled? It would just make the output a lot more attractive and would ensure that I have the necessary dependencies and objects?