I have laravel 7.3 installed
<link href="{{asset('_admin/vendor/fontawesome-free/css/all.min.css')}}" rel="stylesheet" />
<link href="{{asset('_admin/vendor/bootstrap/css/bootstrap.min.css')}}" rel="stylesheet" />
assessing public folder from view
but getting 404 Not found.
CodePudding user response:
Laravel's Blade templating language (the {{ asset() }}
calls are using this) only gets executed if the view's filename ends with .blade.php
. If you name it something.php
, they won't be executed.