How to properly start Laravel 8 with Bootstrap & authentication
PHP Snippet 1:
composer require laravel/ui
php artisan ui bootstrap
php artisan ui bootstrap --auth
npm install && npm run dev
PHP Snippet 2:
@extends('layouts.app')
PHP Snippet 3:
composer create-project --prefer-dist laravel/laravel blade-example-app
PHP Snippet 4:
cd blade-example-app
PHP Snippet 5:
composer require laravel/ui
PHP Snippet 6:
php artisan ui bootstrap --auth
PHP Snippet 7:
npm install && npm run dev
PHP Snippet 8:
php artisan migrate
PHP Snippet 9:
php artisan serve