Home > database >  Assets not getting parsed in laravel
Assets not getting parsed in laravel

Time:10-27

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.

Screenshot Attached enter image description here

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.

  • Related