I created a new project via composer in Laravel 5.1.
I couldn't find the app.blade.php.and home.blade.php
file, what am I doing wrong?
You didn't do anything wrong.
The Auth Scaffolding was removed from Laravel 5.1. That includes the app.blade.php
and the home.blade.php
that you mentioned.
However, you'll still be able to get it back with the Scafold Package :
1.Add Scafold to your composer.json
file in the require :
section :
require : {
"laravel/framework": "5.1.*",
"bestmomo/scafold": "dev-master"
}
or type from terminal :
composer require bestmomo/scafold dev-master
2.Update composer :
composer update
3.Add the service provider to your config/app.php :
Bestmomo\Scafold\ScafoldServiceProvider::class,
4.Publish the views and assets :
php artisan vendor:publish
Done!
Run php artisan make:auth
and it will automatically generate layoyts\app.blade.php
and home.blade.php
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With