Including a css file in a blade template?
问题 I want to include a css file in my Laravel blade template. I've tried: @include(public_path('css/styles.css')) But it says view does not exist. It does exist. How can I include a css file? Please note, I know this is not the correct way to link css files, but for my use case it is (I'm not building a website). 回答1: @include directive allows you to include a Blade view from within another view, like this : @include('another.view') Include CSS or JS from master layout <link href="{{ asset('css