Learn Laravel 8 Beginners Tutorial #14 - What are Inline Components in Laravel --inline (#4)

preview_player
Показать описание
In this video we'll see:

Learn Laravel 8 Beginners Tutorial #14 - What are Inline Components in Laravel --inline (#4)

What are Components ?

- Components are like a section or a layout which can be reused through out the
application.
- For example: Display message layout, Display page header etc.

- There are two methods to write components i.e Class based components and Anonymous
components.

- make:component command is used to created Laravel components.

- when we create, it creats two folder and component files inside /app & /resources

#laravel8
#learnlaravel8
#onlinewebtutor
#laravel8Framework

SOCIAL :
===============

Other Tutorials
===============
Wordpress Customizations:
---------------------------------
and many more...

Javascript framework:
----------------------------------

PHP Frameworks:
----------------------------------

Tags:
----------------------------------
learn laravel 8,
step by step laravel 8,
laravel 8 tutorials,
laravel 8 beginners tutorials,
learn laravel 8 framework,
learn laravel 8 step by step,
laravel 8,
online web tutor laravel 8,
laravel 8 framework,
online web tutor

Thanks
Online Web Tutor
Keep learning and Sharing :)
Рекомендации по теме
Комментарии
Автор

You can also run this command for inline component
php artisan --inline make:component testing

qutbuddinkhan
Автор

Hi, thanks' for your wonderful set of tutorials. I have one question though on the above tutorial regarding the naming, i.e. <x-message-box> in about.blade.php. I would have expected the naming to be exactly that of the class in MessageBox.php, however; it works. I did rename the tag to <x-MessageBox> and also <x-messagebox> and it still worked, though if I changed the e in message to an a, it never worked. Can you explain this phenomena. Kindest Regards, Colin.

kodielees
Автор

at 9:40 i cann't show <h4>{{$my_message}}<h4/> it show error undefined variable , but i declare public var $my_message in class Message box it okay . why ?

Zark
join shbcf.ru