I have a route that looks for 4 optional parameters. These parameters start at the root of my site like so...
Route::get('/{category?}/{sub_category?}/{recurring?}/{amount?}', 'PublicController@index');
The problem I am having is that my local assets are not loading because Laravel is treating my asset paths like parameters to the aforementioned route. What is the correct way to tell Laravel to ignore my assets path /assets/js/all.js
?
When I look in the console, I see that the HTML page has rendered as my JS file and that is why I am saying that Laravel is accepting my assets path as route parameters.
The HTML content that is rendered as JS is the view that would normally be loaded with route specified.