Laravel 8 tutorial in Hindi # Component
HTML-код
- Опубликовано: 10 сен 2020
- in this laravel 8 hindi video tutorial, we learn what is view and how to view in laravel 8 project. this video is made by anil Sidhu in the Hindi language
we also learn new update which is coming with laravel 8th version
laravel full course with every topic
steps of this video
What is Component
how to Make it
how can we Call component
Pass Data to component
Interview Question for component
Thank you so much for creating such an awesome and valuable laravel video series😊😊😊
sir iska answer to nai pta mujhe but sir app jo question video ke end mai puchte hai uska next video mai answer b de do sir plzz🙏 aur sir apke tutorial bhut ache hote hai easy language mai expalin kerte ho sir keep it up sir
Thank you bro
@@codestepbystep sir tell the answer of questions also.
Yes it's possible to run through Route:: but to run a view we need to create a specific URL whereas header should run automatically for all pages as a function that's why we can't restrict header with specific URL separately.
thank you sir for giving best tutorial content
yes we can use it Route::view('header', 'components.header');
the explanation is mindblowing thankyou sir
Thank u sir its really helpfull
Welcome
Awsome explanation, Thank for this amazing laravel series
yes use it Route::view('header', 'components.header');
Yes we can use component blade file directly. As in your example you used we can do like Route::view("header", "components/header", ['title'=>'Abbas']);
please use .(dot) instead of /(forword slash ) otherthing are perfect nice try
yes we can use the component as a view for that we have mention folder name before the component name
Yes Sir, Route::view('about','components/header');
helpful video sir
yes we can use component as view using route::view("url","component.php"); but we should not use separate url for component. it's not a good practice
Bro.. new folder ka.. extension kon sa use kra.. hua... Hamne toh new component file create kra.. but koi alag sai... Highlights nhi hua kuch...
very nice tutorial, thanks
When I try to pass a dynamic data in the header component, I get a blank page instead of showing User's Headers Component.
Any idea why is this happening
Nice
Really nice video :)
bro plz Answer your Questions...next video for better understand....ty
great (Y)
Can create a route to specific component, keeping in mind:
1.The structure of the route will be: Route::view('/compName', 'components/compName');
2. any data passed to the component must be optional.
But I couldn't think of any application where we might need to create a route to components. The whole purpose is to remove redundant code and be able to reuse code in multiple locatoin.
sir vs code mai syntax highlighter ke liye konsa package hai?? Jo app Route:: suggestions de raha hai??
Also, thank you are making this amazing content, it is very easy to grasp.
You can use laravel extra intellisense or laravel snippets
@@codestepbystep 720p video recording is not looking clear.
Sir, component or ek chij or hoti h like yeild, section in dono m difference? Coz kaam tho lgbhag same hi hai?
nice
aur sir thora slow slow video mn smjhya krye .. baki sir you are great
Yes we can access component's header file by giving following path in route's web.php :
Route::view('header', '/components/header');
Sir Kya components ko as a layout use kr karte ? Or layout ka code @yield('title') or @yield('content') ka use kr sakte he header and footer banane ke liye ?
Laravel helper functions aur components seems to be similar how are they different?
Hello sir,
Last Mai Jo question puchte hai app next video Mai answer vi explain kardijiye plz plz.
Yes, call by pass components in route file.
Route::view('header','components/header');
inspirational sir!
Hello Dear Component make artisan command n
Hello @anil i see your video component in laravel and I tried it but I got an error, i follow all steps as per your video but i got error
Sir,pls make a video on gates,facades,contracts
Sir make a video on laravel advance.
Hi, what's the extension used in vs code for laravel IntelliSense...? Recommend!
laravel extra intellisence
or
laravel snippets
Answer : Yes , You can call components file by just write like : return view('components.header')
sir ma begininer hun sir ap say request hai ezi smjhya krye kuch cheziye humry upr say chali jti hai
Ans-Route mai function name deke Jo controller mai banege function uske andr return view krke user wali file ka naam de to skta hai I think
sir can you send me you laravel tutorial playlist in hindi vedios
plz sir.....
Hi can u share installation steps of laravel using homestead.yaml file
Pls ek video data pass pe bana do plss
I do'nt known please give me answer
Sir ham is ke jaga pe include be to kar sakte hain.
hello sir this component command is not run I am using cmd and error are found commad not define pls sir answer
I am facing this issue during make component how to fixed it.
Make:component is not defined.
Hello sir i have 3 years of exp in php developer koi project ho to batyie
Why we create components. Html my 1 page py hi header footer sath hota hai. To is my component kio?
small website hoga to waha component use nhi hota hai.. but bade website ho like ecommerce waha component bahot useful hote hai. q ki hame ek page multiple tym call karna padta hai
hello sir, in my case when i am accessing $tittle in header component error is thrown "undefine variable $tittle"
App\view\components\header.php
public title=" ";
public function __construct($componentName)
{
$this->title=$componentName;
}
This Might Work sir
it is not working for me...
there is no error but it is not displaying any results.
My () works only but after when I pas () it doesn't work..... any solution please
Did you get any Solution?
use variable name in small case and in constructor also camelCase notation is causing this error
Sir laravel kai project ka name kaise change kare cmd command sai
php artisan make:component header
this command is not working for me. I got an error this command is not defined please help me
thank you
may be this problem regards of to environment variable
Blocked server.php error and not loading Laravel page
Bhai data kaise pass kare usme cleaely batao to ki kaun sa line q likh rahe hai
I am getting this error Illuminate\Contracts\Container\BindingResolutionException
Unresolvable dependency resolving [Parameter #0 [ $ComponentName ]] in class App\View\Components\Header (View: PATH\blog
esources\views\about.blade.php)
Route::view('/component', 'components\header', ["name"=>"sandeep"]);
Aise confusion create hota hai
Sir laravel 8 complete download nahi ho raha ha sir
In my code there show some error Please help me to figure out:
Illuminate\Contracts\Container\BindingResolutionException
Unresolvable dependency resolving [Parameter #0 [ $ComponentName ]] in class App\View\Components\Header (View: F:\laravel8\blog
esources\views\users.blade.php)
view is exits
if(view()->exists($view)){
return view($view)->render();
}
return "Page tidak ditemukan";
dynamic is not working
bro what is the difference between using header and footer from a master class using extend and using this component shit!!! which one should i use?
This error are found Command "make:component" is not defined
php artisan make:component
if we use $name variable (6.21min) it gives an error .we have to take exactly same $componentName variable (6.00 min) in constructor.
Iska answer to nhi pata please AP explain Kar do
sir error aa rahi hai
yar ajeeb bndy ho, chzo ka name to different rakho, users and user...mtlb confusion ki hadd krdi hai
sir i was not able to install component
which os you are using?
Itni baar right right bolte ho, koi wapas right bhi bolta hai kya 😉
Tune dono video pe data pass acha se nii bataya hai
o bhai btaya to karo koi cheez q use karrhe ho...
Yes it's possible to run through Route:: but to run a view we need to create a specific URL whereas header should run automatically for all pages as a function that's why we can't restrict header with specific URL separately.