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.php I have:
@extends('layouts.master');
Finally, in layouts/master.blade.php I have:
{{ HTML::style('css/bootstrap.min.css') }}
And that where things seem to fall apart and I get:
FatalErrorException in 002eb18bb71fd3ec1de058967b799d49 line 6: Class 'HTML' not found
What am I doing wrong? Thanks for your help.
shijinmon Pallikal
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.
来源:https://stackoverflow.com/questions/30087145/laravel-5-class-html-not-found