Класс html не найден в шаблоне laravel

Это мой файл main.blade.php

    <head>
        <title>App Name - @yield('title')</title>
        <!-- Latest compiled and minified CSS -->
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

        <!-- Optional theme -->
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">

        <!-- Latest compiled and minified JavaScript -->

    </head>
    <body>
        <div class="container">
            @yield('content')
        </div>


        <script
              src="https://code.jquery.com/jquery-2.2.4.min.js"
              integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44="
              crossorigin="anonymous"></script>
         <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
         {{ HTML::script('js/funciones.js') }}//the html class is not found
    </body>
</html>

when i try to execute the file on the serve i get this error

FatalErrorException in a17fd89ebbf444a204167f09a50ec2b0fd529cbe.php line 24: Class 'HTML' not found

Но я следовал инструкциям по добавлению коллективной библиотеки laravel по этому URL-адресу https://laravelcollective.com/docs/5.2/html, вроде все правильно


person AFS    schedule 06.06.2016    source источник


Ответы (1)