Laravel 5: Class 'HTML' not found

后端 未结 2 1188
北海茫月
北海茫月 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

    Searching on google I found this

    "By default in Laravel 5.0, Html and Form are not embedded anymore."

    You need to add this package to you application.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题