Laravel 5.6 updates the Bootstrap framework to Bootstrap 4. In this video, Justin walks through some of the changes enabled with the new Bootstrap versions as well as how to stay with Bootstrap 3 if you need to.
- [Instructor] Bootstrap is the underlying CSS framework…Laravel uses by default for providing you…a basic front end.…In Laravel 5.6, this was updated to Bootstrap 4.…Now, I'm not gonna cover all the waves…that Bootstrap itself changed…but we'll look briefly at this.…Let's begin by building up our auth skeleton.…We'll use the Artisan command make auth.…So, open up your terminal application…and run the command php artisan make:auth…inside of your code base.…
And then we can start up our php application…with the command php artisan serve.…We'll go to the homepage in our browser…and we'll see we have the Login and Register buttons.…And if we click the Login button,…we'll see it looks basically the same…as it did in Laravel 5.5.…Oh but trust me, we've now completely changed…under the hood.…Bootstrap 4 did a few big changes.…First, responsive layouts are baked in,…meaning everything you do with Bootstrap…is going to be responsive by default.…
There is no non-responsive support anymore.…Also, the framework turned on Flexbox by default.…
Share this video
Embed this video
Video: Bootstrap 4