Laravel 8 tutorial in Hindi # Component

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ม.ค. 2025

ความคิดเห็น • 102

  • @hemantsoni211
    @hemantsoni211 3 ปีที่แล้ว +4

    Thank you so much for creating such an awesome and valuable laravel video series😊😊😊

  • @sanjibmitra8124
    @sanjibmitra8124 4 ปีที่แล้ว +9

    yes we can use it Route::view('header', 'components.header');

  • @jigneshpatel08
    @jigneshpatel08 4 ปีที่แล้ว +2

    Awsome explanation, Thank for this amazing laravel series

  • @howto22277
    @howto22277 ปีที่แล้ว

    Nice

  • @sumitsingh-bi4ks
    @sumitsingh-bi4ks 4 ปีที่แล้ว +1

    thank you sir for giving best tutorial content

  • @umairhanif9108
    @umairhanif9108 3 ปีที่แล้ว +6

    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.

  • @riteshprajapati5512
    @riteshprajapati5512 4 ปีที่แล้ว +28

    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

    • @codestepbystep
      @codestepbystep  4 ปีที่แล้ว +3

      Thank you bro

    • @ankitaoncoding
      @ankitaoncoding 4 ปีที่แล้ว +1

      @@codestepbystep sir tell the answer of questions also.

  • @sakibarkate9207
    @sakibarkate9207 4 ปีที่แล้ว +1

    the explanation is mindblowing thankyou sir

  • @akSingh_120
    @akSingh_120 ปีที่แล้ว

    great (Y)

  • @patelrahul4082
    @patelrahul4082 11 หลายเดือนก่อน +1

    yes use it Route::view('header', 'components.header');

  • @taibaiftikhar3858
    @taibaiftikhar3858 4 ปีที่แล้ว +2

    Thank u sir its really helpfull

  • @mohammedimran1144
    @mohammedimran1144 3 ปีที่แล้ว

    helpful video sir

  • @ABHISHEKSHARMA-zf6vo
    @ABHISHEKSHARMA-zf6vo 4 ปีที่แล้ว +4

    Yes Sir, Route::view('about','components/header');

  • @SanjayKumar-un7xf
    @SanjayKumar-un7xf 3 ปีที่แล้ว

    Really nice video :)

  • @soniclickadbox8646
    @soniclickadbox8646 4 ปีที่แล้ว

    very nice tutorial, thanks

  • @incode6669
    @incode6669 3 ปีที่แล้ว +3

    yes we can use the component as a view for that we have mention folder name before the component name

  • @manurajput8218
    @manurajput8218 4 ปีที่แล้ว +3

    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...

  • @uniquecreation0009
    @uniquecreation0009 3 ปีที่แล้ว

    nice

  • @TayyabNoor-b7g
    @TayyabNoor-b7g ปีที่แล้ว

    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

  • @GamersBucket
    @GamersBucket 4 ปีที่แล้ว

    bro plz Answer your Questions...next video for better understand....ty

  • @fireluffy9156
    @fireluffy9156 3 ปีที่แล้ว +2

    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

  • @masim8464
    @masim8464 3 ปีที่แล้ว

    aur sir thora slow slow video mn smjhya krye .. baki sir you are great

  • @UmangBajaniya-j1q
    @UmangBajaniya-j1q ปีที่แล้ว

    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

  • @adityajodhani7397
    @adityajodhani7397 2 ปีที่แล้ว

    Answer : Yes , You can call components file by just write like : return view('components.header')

  • @masim8464
    @masim8464 3 ปีที่แล้ว

    sir ma begininer hun sir ap say request hai ezi smjhya krye kuch cheziye humry upr say chali jti hai

  • @amitdev1485
    @amitdev1485 2 ปีที่แล้ว

    Laravel helper functions aur components seems to be similar how are they different?

  • @abhishekdeshmukh8062
    @abhishekdeshmukh8062 4 ปีที่แล้ว

    inspirational sir!

  • @greatas226
    @greatas226 4 ปีที่แล้ว

    Sir, component or ek chij or hoti h like yeild, section in dono m difference? Coz kaam tho lgbhag same hi hai?

  • @aamirkhanmaarofi9705
    @aamirkhanmaarofi9705 4 ปีที่แล้ว +2

    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.

    • @aamirkhanmaarofi9705
      @aamirkhanmaarofi9705 4 ปีที่แล้ว +1

      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.

  • @ashishkamal7642
    @ashishkamal7642 2 ปีที่แล้ว

    Yes we can access component's header file by giving following path in route's web.php :
    Route::view('header', '/components/header');

  • @AbdulSattar-uv5rq
    @AbdulSattar-uv5rq 3 ปีที่แล้ว

    Sir ham is ke jaga pe include be to kar sakte hain.

  • @muzaffer433
    @muzaffer433 4 ปีที่แล้ว

    Hello sir,
    Last Mai Jo question puchte hai app next video Mai answer vi explain kardijiye plz plz.

  • @pratikpawar05
    @pratikpawar05 4 ปีที่แล้ว +3

    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.

    • @codestepbystep
      @codestepbystep  4 ปีที่แล้ว +2

      You can use laravel extra intellisense or laravel snippets

    • @mihirpatel6758
      @mihirpatel6758 ปีที่แล้ว

      ​@@codestepbystep 720p video recording is not looking clear.

  • @divyanshu160
    @divyanshu160 4 ปีที่แล้ว +1

    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 ?

  • @neerajsharma3730
    @neerajsharma3730 3 ปีที่แล้ว

    Yes, call by pass components in route file.
    Route::view('header','components/header');

  • @gamerx4294
    @gamerx4294 3 ปีที่แล้ว

    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

  • @govindgaur2954
    @govindgaur2954 3 ปีที่แล้ว

    hello sir this component command is not run I am using cmd and error are found commad not define pls sir answer

  • @bigint7373
    @bigint7373 4 ปีที่แล้ว +1

    Hi, what's the extension used in vs code for laravel IntelliSense...? Recommend!

    • @RahulGupta-id2qr
      @RahulGupta-id2qr 3 ปีที่แล้ว

      laravel extra intellisence
      or
      laravel snippets

  • @ubaidulhaque9610
    @ubaidulhaque9610 2 ปีที่แล้ว

    hello sir, in my case when i am accessing $tittle in header component error is thrown "undefine variable $tittle"

    • @ujenmaharjan8573
      @ujenmaharjan8573 2 ปีที่แล้ว

      App\view\components\header.php
      public title=" ";
      public function __construct($componentName)
      {
      $this->title=$componentName;
      }
      This Might Work sir

  • @sanjaykushwah9420
    @sanjaykushwah9420 3 ปีที่แล้ว

    Sir make a video on laravel advance.

  • @simrrrran1
    @simrrrran1 2 ปีที่แล้ว

    Hi can u share installation steps of laravel using homestead.yaml file

  • @harisidrees3857
    @harisidrees3857 2 ปีที่แล้ว

    I am facing this issue during make component how to fixed it.
    Make:component is not defined.

  • @ABHISHEKKUMAR-ne3rk
    @ABHISHEKKUMAR-ne3rk 4 ปีที่แล้ว

    Sir,pls make a video on gates,facades,contracts

  • @knowledgeamq5741
    @knowledgeamq5741 3 ปีที่แล้ว

    Why we create components. Html my 1 page py hi header footer sath hota hai. To is my component kio?

    • @RahulGupta-id2qr
      @RahulGupta-id2qr 3 ปีที่แล้ว

      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

  • @roovinbansal8647
    @roovinbansal8647 3 ปีที่แล้ว

    sir can you send me you laravel tutorial playlist in hindi vedios
    plz sir.....

  • @muhammadhamzasaleemi2698
    @muhammadhamzasaleemi2698 2 ปีที่แล้ว

    Hello Dear Component make artisan command n

  • @studio9003
    @studio9003 3 ปีที่แล้ว

    Hello sir i have 3 years of exp in php developer koi project ho to batyie

  • @manurajput8218
    @manurajput8218 3 ปีที่แล้ว

    Sir laravel kai project ka name kaise change kare cmd command sai

  • @osamajaved46
    @osamajaved46 ปีที่แล้ว +1

    yar ajeeb bndy ho, chzo ka name to different rakho, users and user...mtlb confusion ki hadd krdi hai

  • @anne7059
    @anne7059 4 ปีที่แล้ว

    Bhai data kaise pass kare usme cleaely batao to ki kaun sa line q likh rahe hai

  • @anne7059
    @anne7059 4 ปีที่แล้ว

    Pls ek video data pass pe bana do plss

  • @programingwithsagarsharma6544
    @programingwithsagarsharma6544 3 ปีที่แล้ว

    Sir laravel 8 complete download nahi ho raha ha sir

  • @Unkn0wn_Legend000
    @Unkn0wn_Legend000 3 ปีที่แล้ว

    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

    • @gamingsites1041
      @gamingsites1041 3 ปีที่แล้ว

      Did you get any Solution?

    • @poojamaurya4122
      @poojamaurya4122 3 ปีที่แล้ว

      use variable name in small case and in constructor also camelCase notation is causing this error

  • @abhi22srivaastava
    @abhi22srivaastava 5 หลายเดือนก่อน

    HI from wheres i can get these code

  • @ansarmehmood4488
    @ansarmehmood4488 3 ปีที่แล้ว

    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

    • @ekanshsoni1509
      @ekanshsoni1509 ปีที่แล้ว

      may be this problem regards of to environment variable

  • @AliHamza-qp3bo
    @AliHamza-qp3bo 2 ปีที่แล้ว

    I do'nt known please give me answer

  • @refatkhan7972
    @refatkhan7972 4 ปีที่แล้ว

    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)

    • @neerajsharma3730
      @neerajsharma3730 3 ปีที่แล้ว

      php artisan view:clear

    • @gamingsites1041
      @gamingsites1041 3 ปีที่แล้ว

      Did you get any Solution?

    • @poojamaurya4122
      @poojamaurya4122 3 ปีที่แล้ว

      use variable name in small case and in constructor also camelCase notation is causing this error

    • @sitararafaqat
      @sitararafaqat ปีที่แล้ว

      same error

    • @ebrahimazhar5755
      @ebrahimazhar5755 ปีที่แล้ว

      facing same error and finding no solution

  • @mohibullah5161
    @mohibullah5161 ปีที่แล้ว

    Blocked server.php error and not loading Laravel page

  • @anne7059
    @anne7059 4 ปีที่แล้ว

    Tune dono video pe data pass acha se nii bataya hai

  • @govindgaur2954
    @govindgaur2954 3 ปีที่แล้ว

    This error are found Command "make:component" is not defined

    • @majidshah2253
      @majidshah2253 3 ปีที่แล้ว +1

      php artisan make:component

  • @incode6669
    @incode6669 3 ปีที่แล้ว

    Route::view('/component', 'components\header', ["name"=>"sandeep"]);

  • @mayurbahuguna8438
    @mayurbahuguna8438 3 ปีที่แล้ว

    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?

  • @jayakumari4355
    @jayakumari4355 3 ปีที่แล้ว

    Iska answer to nhi pata please AP explain Kar do

  • @IyyerSwami_Gaming
    @IyyerSwami_Gaming 2 ปีที่แล้ว

    sir error aa rahi hai

  • @vedantraj
    @vedantraj ปีที่แล้ว

    Itni baar right right bolte ho, koi wapas right bhi bolta hai kya 😉

  • @jitendrachandrakar4284
    @jitendrachandrakar4284 4 ปีที่แล้ว

    sir i was not able to install component

  • @rahulprajapati3526
    @rahulprajapati3526 4 ปีที่แล้ว

    view is exits
    if(view()->exists($view)){
    return view($view)->render();
    }
    return "Page tidak ditemukan";

  • @rajachakraborty1478
    @rajachakraborty1478 3 ปีที่แล้ว

    dynamic is not working

  • @RizwanKhan-yn9yb
    @RizwanKhan-yn9yb 2 ปีที่แล้ว

    if we use $name variable (6.21min) it gives an error .we have to take exactly same $componentName variable (6.00 min) in constructor.

  • @anne7059
    @anne7059 4 ปีที่แล้ว

    Aise confusion create hota hai

  • @syedsaifalishahbukhari9399
    @syedsaifalishahbukhari9399 ปีที่แล้ว

    o bhai btaya to karo koi cheez q use karrhe ho...

  • @sarmadmahar
    @sarmadmahar 3 ปีที่แล้ว +1

    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)

  • @yashsuvagiya7438
    @yashsuvagiya7438 ปีที่แล้ว

    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.