Laravel 5: Class 'HTML' not found

后端 未结 2 1191
北海茫月
北海茫月 2021-01-18 15:38

I\'m just getting started with Laravel. I\'m in a controller method and I say:

return \\View::make(\'scrape\', $data);

Then in scrape.blade

2条回答
  •  悲&欢浪女
    2021-01-18 16:26

    Please use above links and last change HTML to Html.

    eg:

    {{ HTML::style('css/bootstrap.min.css') }} 
    

    to

    {{ Html::style('css/bootstrap.min.css') }}. 
    

    its working.

提交回复
热议问题