Try using public_path() + "file path".
Here public_path is whole path of your project to public directory
Try it with this syntax:
{{URL::asset('folder_path_to_js/js/script.js')}}
//folder_path_to_js will be required if the js directory is not in the public scope of URL::asset
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community