Laravel Supports Modern Frontends0:00
(upbeat music) One of the weirdest misconceptions about Laravel is that it is stuck in server-rendered apps and that you can't use a modern front-end. Usually what people mean is, can I use Reactor View? And the answer is yes. Yes, you can. Now, there are many different ways that we could, you know, go through this and show you that modern frameworks are supported.
Choosing a Starter Kit0:24
you know, go through this and show you that modern frameworks are supported. But I mean, the documentation tells you everything that you need. So here we are at Laravel.com. It has these things called starter kits. In fact, whenever you create a new Laravel application, we'll just call this modern app. The first question other than wanting to update is which starter kit do you want to use?
The first question other than wanting to update is which starter kit do you want to use? You can choose none, which of course is none. It's just a normal Laravel application using Blade. But then there's a starter kit that has React so that you are ready to go with React. The same thing with View and Livewire. If you're not familiar with Livewire, it's, well, it's server-side components, really. I mean, yes, it's rendered in the browser,
well, it's server-side components, really. I mean, yes, it's rendered in the browser, but it's server-side components. But anyway, those are the starter kits. They are heavily supported. And there's no reason to think that you can't use React or View or Livewire. So those starter kits are there. You can start your application with those starter kits, thus the name and you're up and running,
Exploring React Starter Kit1:31
You can start your application with those starter kits, thus the name and you're up and running, ready to start building your application. Of course, there are Git repositories for those starter kits. So if you wanted to look at the React starter kit, let's go into resources and then views and, okay, not there. Let's, where do we wanna go? Resources, JS, and then components. And then what he got, he got React components right there.
Viewing Vue Components1:57
Resources, JS, and then components. And then what he got, he got React components right there. It's right there in the starter kit. So we could actually look at that as a Live preview. And we're gonna see a Laravel application with React components. There we go. We could do the same thing for a View-oriented app. Once again, if we got a resources and then JS, and then components, and there are a bunch of View components
Once again, if we got a resources and then JS, and then components, and there are a bunch of View components ready to use within that application. Everything is set up and ready for you to use. All you gotta do is choose the starter kit. And that's it. I mean, we could go on, but it's there. Just pick whatever starter kit that you want and build your application.
and build your application.
