There are 2 places where I can store javascripts: resources/assets/javascripts and public/js .
If we put files in resources/assets/javascripts , we must add gulp tasks to copy them. And this is the weakness of this method. And we need a path mapping in the browser debugger.
If we put these files in public/js , we will have our JS source and JS compiled in one place, and they will be corrupted.
So where should I store JS in Laravel 5?
source share