You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I pulled this in via composer then added this to my index.php file
<?php
/*
|--------------------------------------------------------------------------
| Register The Auto Loader For Blade
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader
| for our application. We just need to utilize it! We'll require it
| into the script here so that we do not have to worry about the
| loading of any our classes "manually". Feels great to relax.
|
*/
require 'vendor/autoload.php';
use Jenssegers\Blade\Blade;
$views = __DIR__ . 'app/views';
$cache = __DIR__ . 'app/cache';
$blade = new Blade($views, $cache); ?>
Then I made a home.blade.php file and a layout.blade.php file in my "app/views" directory. My home.blade.php just displays this in the browser
@extends('layout') @section('content')
Some content
@stop
It doesnt render anything. I am familiar with blade inside Laravel but it doesnt seem to be working in this project.
The text was updated successfully, but these errors were encountered:
I pulled this in via composer then added this to my index.php file
Then I made a home.blade.php file and a layout.blade.php file in my "app/views" directory. My home.blade.php just displays this in the browser
It doesnt render anything. I am familiar with blade inside Laravel but it doesnt seem to be working in this project.
The text was updated successfully, but these errors were encountered: