This video will show you learn you Components in Laravel from zero to hero. With the usage of Components, Laravel allows you to make reuseable, independent and decoupled Component within your Laravel Blade templating engine. We will be starting off with diving into the Component class and view, creating Components through the CLI, passing data and variables to Components, working with subdirectories within Components, Slots, Component Attributes and finally, the usage of inlined components - Want to learn the most popular PHP framework? Laravel makes your development process a lot easier without sacrificing your applications functionalities.
🔥 Resources
- TikTok: https://www.tiktok.com/@codewithdary
- Instagram: https://www.instagram.com/codewithdary/
- Twitter: https://twitter.com/codewithdary
- Blog: https://blog.codewithdary.com/
- Patreon: https://www.patreon.com/user?u=30307830
- GitHub: https://github.com/codewithdary/laravel-9-for-beginners
🔗 Useful links
- Laravel 9 Course: https://www.youtube.com/watch?v=2mqsVzgsV_c
- Components Docs: https://laravel.com/docs/9.x/blade#components
- Blog Template: https://github.com/codewithdary/laravel-blog-template
- Final Repo: https://github.com/codewithdary/components-in-laravel-9
📋 Table of Content
00:00 - Introduction
01:04 - Our current application
02:49 - Creating our first Component
05:40 - Component class
08:13 - Passing data to components
10:07 - Subdirectories for our Components
11:22 - Passing variables to components
13:20 - Components inside Components
15:06 - Slots
17:31 - Component Attributes
24:43 - Component Props
30:29 - Inline Components
32:14 - Outro
#laravel #components #blade #frontend

0 Comments