Angular 12 tutorial in Hindi #23 how to use Bootstrap with angular

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 มิ.ย. 2021
  • In this angular 12 version video, we learn how to make toggle element and show hide HTML tags in angular 13. This video is made by anil Sidhu in the Hindi language.
    What is Bootstrap
    How to install Bootstrap
    Check Changes after install bootstrap
    Add example of bootstrap
    Interview Question
    Angular 13
    code link github.com/anil-sidhu/angular...
    React js Latest Playlist in hindi : • React tutorial for beg...
    inst id: @code.steps

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

  • @asfandyar_ali
    @asfandyar_ali 6 หลายเดือนก่อน +1

    Thank you Anil for such a fantastic teaching. I started angular series and reached to this point. I must say, this series is perfect for beginners.

  • @user-hw2os4xt4u
    @user-hw2os4xt4u ปีที่แล้ว

    Excellent lesson !!!

  • @AkhileshYadav-lv3kh
    @AkhileshYadav-lv3kh ปีที่แล้ว

    Thank you sir 👍👍

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

    Thanks a lot sir

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

    Those who is facing issue of not bootstrap,..
    just after running adding bootstrap command, again restart "ng serve" in your terminal
    it will work !.

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

      Yeah It worked!

    • @VishalRaj-wv4jz
      @VishalRaj-wv4jz ปีที่แล้ว

      Hi, i agin add bootstrap in the same terminal then run ng serve command but still it not working.Please help me.

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

    Nahi ho raha hai 13version main kuch solution batao

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

    hello brother
    bootstrap not installing my angular page and error show

  • @PiyushYadav-ef5ln
    @PiyushYadav-ef5ln 5 หลายเดือนก่อน

    not able to fnd code for this video on github

  • @VishalRaj-wv4jz
    @VishalRaj-wv4jz ปีที่แล้ว

    Hi sir i am using Angular16 version,when i am trying to install bootstrap in my project then it not working.Please help me.❤❤

    • @nibhatyagi4262
      @nibhatyagi4262 9 หลายเดือนก่อน

      Try " npm install bootstrap " it worked for me as I also have version 16

  • @kirtisambhavrastogi8057
    @kirtisambhavrastogi8057 2 หลายเดือนก่อน +1

    Boss
    1. ng add @ng.bootstrsp/ng.bootstrap
    By yr video of bootstrap
    2 ng add @ng-bootstrap/ng-bootstrap
    By website
    1. Is not working giving errors
    2 is installed completely
    IS THRER ANY DIFFERENCE IN BOTH COMMANDS
    PLS RE PLY
    Thanks and best regards

  • @prabhjotsingh-sy4wr
    @prabhjotsingh-sy4wr 2 ปีที่แล้ว +1

    Bootstrap is not getting installed

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

    Bro version 13 mein bootstrap error araha hai

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

    tried everything but still its not working

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

    Aap ne to ts ki file dikhai bhi nahi

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

    Error solution:
    npm install @ng-bootstrap/ng-bootstrap --force

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

    ?]633;P;IsWindows=?]633;A?]633;P;Cwd=C:\x5cUsers\x5cSaqlain\x5cDesktop\x5cNew folder\x5cprojectPS C:\Users\Saqlain\Desktop\New folder\project> ?]633;......how can i fix that error

  • @KhanRehan-xk7ot
    @KhanRehan-xk7ot 3 ปีที่แล้ว

    Sir Bootstrap install nhi ho rha h err massage aarhi hai

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

    bootstrap download krne m error aa rha h can you help me

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

    :)

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

    Yedya nit sang

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

    First way: Install bootstrap in your angular 12 app like below. This is only for css importing.
    npm install bootstrap --save
    Now you need to import bootstrap css in style.css file like this:
    @import "~bootstrap/dist/css/bootstrap.css";
    Second way: Install bootstrap with jquery and popper js like below and thus you can import bootstrap css and bootstrap js function.
    npm install bootstrap --save
    npm install jquery --save
    npm install popper.js --save
    After successfully run the above commands import it in angular.json file like this:
    "styles": [
    "node_modules/bootstrap/dist/css/bootstrap.min.css",
    "src/styles.css"
    ],
    "scripts": [
    "node_modules/jquery/dist/jquery.min.js",
    "node_modules/popper.js/dist/umd/popper.min.js",
    "node_modules/bootstrap/dist/js/bootstrap.min.js"
    ]
    Now you can easily use bootstrap class, css, js as expected :)

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

    i installed bootstrap using this command- ng add @ng-bootstrap/ng-bootstrap - but it didn't work for me. plz jelp what to do

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

      restart the terminal

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

    my Cli versions are this :-
    Angular CLI: 12.0.5
    Node: 14.17.0
    Package Manager: npm 7.17.0
    OS: win32 x64
    Angular: 12.0.5
    ... animations, cli, common, compiler, compiler-cli, core, forms
    ... platform-browser, platform-browser-dynamic, router
    Package Version
    ---------------------------------------------------------
    @angular-devkit/architect 0.1200.5
    @angular-devkit/build-angular 12.0.5
    @angular-devkit/core 12.0.5
    @angular-devkit/schematics 12.0.5
    @schematics/angular 12.0.5
    rxjs 6.6.7
    typescript 4.2.4

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

    Anil, I am still getting this Error.
    Microsoft Windows [Version 10.0.19043.1052]
    (c) Microsoft Corporation. All rights reserved.
    D:\tp_angular\frontend>npm install @ng-bootstrap/ng-bootstrap@next
    npm ERR! code ERESOLVE
    npm ERR! ERESOLVE unable to resolve dependency tree
    npm ERR!
    npm ERR! While resolving: frontend@0.0.0
    npm ERR! Found: @angular/common@12.0.5
    npm ERR! node_modules/@angular/common
    npm ERR! @angular/common@"~12.0.5" from the root project
    npm ERR!
    npm ERR! Could not resolve dependency:
    npm ERR! peer @angular/common@"^11.0.0" from @ng-bootstrap/ng-bootstrap@11.0.0-beta.1
    npm ERR! node_modules/@ng-bootstrap/ng-bootstrap
    npm ERR! @ng-bootstrap/ng-bootstrap@"11.0.0-beta.1" from the root project
    npm ERR!
    npm ERR! Fix the upstream dependency conflict, or retry
    npm ERR! this command with --force, or --legacy-peer-deps
    npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
    npm ERR!
    npm ERR! See C:\Users\Rahul\AppData\Local
    pm-cache\eresolve-report.txt for a full report.
    npm ERR! A complete log of this run can be found in:
    npm ERR! C:\Users\Rahul\AppData\Local
    pm-cache\_logs\2021-06-21T08_31_40_623Z-debug.log
    D:\tp_angular\frontend>

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

      solution is also given in err bro... use --force or --legacy-peer-deps

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

      @@thunder5323 npm config set legacy-peer-deps true

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

    The package @ng-bootstrap/ng-bootstrap@10.0.0 will be installed and executed.
    Would you like to proceed? Yes
    npm ERR! code ERESOLVE
    npm ERR! ERESOLVE unable to resolve dependency tree
    npm ERR!
    npm ERR! While resolving: blog@0.0.0
    npm ERR! Found: @angular/compiler@12.1.5
    npm ERR! node_modules/@angular/compiler
    npm ERR! @angular/compiler@"~12.1.2" from the root project
    npm ERR!
    npm ERR! Could not resolve dependency:
    npm ERR! peer @angular/compiler@"12.2.0" from @angular/localize@12.2.0
    npm ERR! node_modules/@angular/localize
    npm ERR! peer @angular/localize@"^12.0.0" from @ng-bootstrap/ng-bootstrap@10.0.0
    npm ERR! node_modules/@ng-bootstrap/ng-bootstrap
    npm ERR! @ng-bootstrap/ng-bootstrap@"10.0.0" from the root project
    npm ERR!
    npm ERR! Fix the upstream dependency conflict, or retry
    npm ERR! this command with --force, or --legacy-peer-deps
    npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

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

      npm config set legacy-peer-deps true

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

      @@ayushgarg2442 thanku

    • @RahulAgrawal-sc5ks
      @RahulAgrawal-sc5ks ปีที่แล้ว

      I also get the error :
      The package @ng-bootstrap/ng-bootstrap@13.1.1 will be installed and executed.
      Would you like to proceed? Yes
      npm ERR! code ERESOLVE
      npm ERR! ERESOLVE unable to resolve dependency tree
      npm ERR!
      npm ERR! While resolving: boot-test@0.0.0
      npm ERR! Found: @angular/common@15.0.1
      npm ERR! node_modules/@angular/common
      npm ERR! @angular/common@"^15.0.0" from the root project
      npm ERR!
      npm ERR! Could not resolve dependency:
      npm ERR! peer @angular/common@"^14.1.0" from @ng-bootstrap/ng-bootstrap@13.1.1
      npm ERR! node_modules/@ng-bootstrap/ng-bootstrap
      npm ERR! @ng-bootstrap/ng-bootstrap@"13.1.1" from the root project
      npm ERR!
      npm ERR! Fix the upstream dependency conflict, or retry
      npm ERR! this command with --force or --legacy-peer-deps
      npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
      npm ERR!
      npm ERR!
      npm ERR! For a full report see:
      npm ERR! C:\Users\DIN\AppData\Local
      pm-cache\_logs\2022-11-28T17_09_03_541Z-eresolve-report.txt
      npm ERR! A complete log of this run can be found in:
      npm ERR! C:\Users\DIN\AppData\Local
      pm-cache\_logs\2022-11-28T17_09_03_541Z-debug-0.log
      × Packages installation failed, see above.
      I tryed npm config set legacy-peer-deps true but didn't solve.
      please give me some solution

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

      @@ayushgarg2442 thank you so much