Episode 6 Run Time 5:19
In Laravel 5.4, Blade offers a new
@component directive. With this new addition, you may now, where relevant, think in terms of components and slots (much like Vue's implementation). Define a view partial, reference any necessary variables, and then call this component from any other view. It's probably best if I simply show you!
Publish Date: January 23, 2017