Home > Net >  In Laravel blade file @include, everything is included except the <style> tags inside the file
In Laravel blade file @include, everything is included except the <style> tags inside the file

Time:11-28

I have a weird thing going on. In a Laravel blade file, everything is included except the tags inside the file! They're being thrown away somewhere.

Please assist if you know what may be going on. Thanks so much.

CodePudding user response:

in laravel goto layouts->yourLayout_name.blade.php and in this layout add styles, css just like this > @stacks('styles')

if your include blade just add @push('styles') @endpush
  • Related